summaryrefslogtreecommitdiffstats
path: root/windowmanagers
diff options
context:
space:
mode:
authorFlorian Franzmann2014-05-10 07:20:35 +0200
committerFlorian Franzmann2014-05-10 08:22:14 +0200
commit8bc08734e28cda8dcbd456319c05a5fbc7bd6ca6 (patch)
treed3b7db007a55d93ad9b088edf5518e5e5149532d /windowmanagers
parentd9faec27a0474474fb9fa677d5ee092ba251f54a (diff)
windowmanagers/xmonad: moved to haskell/haskell-xmonad
Diffstat (limited to 'windowmanagers')
-rwxr-xr-xwindowmanagers/xmonad/BUILD3
-rwxr-xr-xwindowmanagers/xmonad/DEPENDS6
-rwxr-xr-xwindowmanagers/xmonad/DETAILS27
-rwxr-xr-xwindowmanagers/xmonad/DOWNLOAD1
-rw-r--r--windowmanagers/xmonad/HISTORY5
-rwxr-xr-xwindowmanagers/xmonad/INSTALL6
-rwxr-xr-xwindowmanagers/xmonad/POST_REMOVE2
-rwxr-xr-xwindowmanagers/xmonad/POST_RESURRECT16
-rwxr-xr-xwindowmanagers/xmonad/PRE_BUILD1
-rwxr-xr-xwindowmanagers/xmonad/PRE_RESURRECT9
-rwxr-xr-xwindowmanagers/xmonad/TRIGGERS1
11 files changed, 18 insertions, 59 deletions
diff --git a/windowmanagers/xmonad/BUILD b/windowmanagers/xmonad/BUILD
index de96a0c633..27ba77ddaf 100755
--- a/windowmanagers/xmonad/BUILD
+++ b/windowmanagers/xmonad/BUILD
@@ -1,2 +1 @@
-runhaskell Setup.lhs configure --prefix=${INSTALL_ROOT}/usr &&
-runhaskell Setup.lhs build
+true
diff --git a/windowmanagers/xmonad/DEPENDS b/windowmanagers/xmonad/DEPENDS
index daac485e60..2e29874410 100755
--- a/windowmanagers/xmonad/DEPENDS
+++ b/windowmanagers/xmonad/DEPENDS
@@ -1,5 +1 @@
-depends ghc &&
-depends haskell-x11 &&
-depends haskell-mtl &&
-depends haskell-utf8-string &&
-depends haskell-extensible-exceptions
+depends haskell-xmonad
diff --git a/windowmanagers/xmonad/DETAILS b/windowmanagers/xmonad/DETAILS
index d50c82eb63..ef28997d93 100755
--- a/windowmanagers/xmonad/DETAILS
+++ b/windowmanagers/xmonad/DETAILS
@@ -1,20 +1,7 @@
- SPELL=xmonad
- VERSION=0.11
- SOURCE="${SPELL}-${VERSION}.tar.gz"
- SOURCE_URL[0]=http://hackage.haskell.org/packages/archive/${SPELL}/${VERSION}/${SOURCE}
- SOURCE_HASH=sha512:34740f032508584f34f6b138d21394eca17e8020bccc4d8c6e8b3cb6b7ca64b153077cfd16636a6130768ebd145fe993569f8a229862d7816d0c89c905ee08bc
-SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
- WEB_SITE="http://xmonad.org"
- LICENSE[0]=BSD3
- ENTERED=20070812
- SHORT="a lightweight X11 window manager"
-cat << EOF
-Xmonad is a minimalist tiling window manager for X, written in Haskell. Windows
-are managed using automatic layout algorithms, which can be dynamically
-reconfigured. At any time windows are arranged so as to maximise the use of
-screen real estate. All features of the window manager are accessible purely
-from the keyboard: a mouse is entirely optional. Xmonad is configured in
-Haskell, and custom layout algorithms may be implemented by the user in
-config files. A principle of Xmonad is predictability: the user should know
-in advance precisely the window arrangement that will result from any action.
-EOF
+ SPELL=xmonad
+ VERSION=0
+ PATCHLEVEL=9999
+ SHORT="deprecated"
+ cat << EOF
+ deprecated spell [replaced by haskell-xmonad]
+ EOF
diff --git a/windowmanagers/xmonad/DOWNLOAD b/windowmanagers/xmonad/DOWNLOAD
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/windowmanagers/xmonad/DOWNLOAD
@@ -0,0 +1 @@
+true
diff --git a/windowmanagers/xmonad/HISTORY b/windowmanagers/xmonad/HISTORY
index 7d436247a9..cedd0de7bf 100644
--- a/windowmanagers/xmonad/HISTORY
+++ b/windowmanagers/xmonad/HISTORY
@@ -1,3 +1,8 @@
+2014-05-10 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * spell deprecated [integrate into the grimoire's haskell build facilities]
+ * PATCHLEVEL=9999
+ * DETAILS: version 0
+
2013-02-22 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* INSTALL: install manpage
diff --git a/windowmanagers/xmonad/INSTALL b/windowmanagers/xmonad/INSTALL
index fcce801045..27ba77ddaf 100755
--- a/windowmanagers/xmonad/INSTALL
+++ b/windowmanagers/xmonad/INSTALL
@@ -1,5 +1 @@
-runhaskell Setup.lhs install &&
-SHARE_DIR=${INSTALL_ROOT}/usr/share/${SPELL} &&
-mkdir -vp $SHARE_DIR &&
-cp -v xmonad.cabal $SHARE_DIR &&
-install -m644 ${SOURCE_DIRECTORY}/man/xmonad.1 ${INSTALL_ROOT}/usr/share/man/man1/
+true
diff --git a/windowmanagers/xmonad/POST_REMOVE b/windowmanagers/xmonad/POST_REMOVE
deleted file mode 100755
index bf7211face..0000000000
--- a/windowmanagers/xmonad/POST_REMOVE
+++ /dev/null
@@ -1,2 +0,0 @@
-message "${MESSAGE_COLOR}Unregistering package with ghc-pkg...${DEFAULT_COLOR}"
-ghc-pkg unregister xmonad
diff --git a/windowmanagers/xmonad/POST_RESURRECT b/windowmanagers/xmonad/POST_RESURRECT
deleted file mode 100755
index b0575150e6..0000000000
--- a/windowmanagers/xmonad/POST_RESURRECT
+++ /dev/null
@@ -1,16 +0,0 @@
-# We need to restore package.conf and package.conf.old after resurrection.
-# Also we need to register package with ghc-pkg.
-
-message "${MESSAGE_COLOR}Restoring package.conf and package.conf.old...${DEFAULT_COLOR}"
-GHC_VERSION=$(ghc --version | tr -d ' ,[:alpha:]')
-GHC_DIR=${INSTALL_ROOT}/usr/lib/ghc-${GHC_VERSION}
-mv -v ${GHC_DIR}/package.conf.bak ${GHC_DIR}/package.conf
-if [ -f ${GHC_DIR}/package.conf.old.bak ] ; then
- mv -v ${GHC_DIR}/package.conf.old.bak ${GHC_DIR}/package.conf.old
-fi
-
-message "${MESSAGE_COLOR}Registering package with ghc-pkg...${DEFAULT_COLOR}"
-CABAL_FILE=${INSTALL_ROOT}/usr/share/xmonad/xmonad.cabal
-ghc-pkg register --force-files $CABAL_FILE
-message "${MESSAGE_COLOR}Exposing package with ghc-pkg...${DEFAULT_COLOR}"
-ghc-pkg expose xmonad
diff --git a/windowmanagers/xmonad/PRE_BUILD b/windowmanagers/xmonad/PRE_BUILD
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/windowmanagers/xmonad/PRE_BUILD
@@ -0,0 +1 @@
+true
diff --git a/windowmanagers/xmonad/PRE_RESURRECT b/windowmanagers/xmonad/PRE_RESURRECT
deleted file mode 100755
index 9ab1156f30..0000000000
--- a/windowmanagers/xmonad/PRE_RESURRECT
+++ /dev/null
@@ -1,9 +0,0 @@
-# We need to backup package.conf and package.conf.old before resurrection
-
-message "${MESSAGE_COLOR}Backuping package.conf and package.conf.old...${DEFAULT_COLOR}"
-GHC_VERSION=$(ghc --version | tr -d ' ,[:alpha:]')
-GHC_DIR=${INSTALL_ROOT}/usr/lib/ghc-${GHC_VERSION}
-cp -v ${GHC_DIR}/package.conf ${GHC_DIR}/package.conf.bak
-if [ -f ${GHC_DIR}/package.conf.old ] ; then
- cp -v ${GHC_DIR}/package.conf.old ${GHC_DIR}/package.conf.old.bak
-fi
diff --git a/windowmanagers/xmonad/TRIGGERS b/windowmanagers/xmonad/TRIGGERS
new file mode 100755
index 0000000000..dc742f8472
--- /dev/null
+++ b/windowmanagers/xmonad/TRIGGERS
@@ -0,0 +1 @@
+on_cast xmonad dispel_self