summaryrefslogtreecommitdiff
path: root/community/xmonad-contrib
diff options
context:
space:
mode:
Diffstat (limited to 'community/xmonad-contrib')
-rw-r--r--community/xmonad-contrib/PKGBUILD37
-rw-r--r--community/xmonad-contrib/xmonad-contrib-remove-getatomname.patch19
-rw-r--r--community/xmonad-contrib/xmonad-contrib.install17
3 files changed, 0 insertions, 73 deletions
diff --git a/community/xmonad-contrib/PKGBUILD b/community/xmonad-contrib/PKGBUILD
deleted file mode 100644
index 30b913ea4..000000000
--- a/community/xmonad-contrib/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 89335 2013-04-28 16:53:08Z td123 $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
-# Contributor: orbisvicis <gmail.com>
-
-pkgname=xmonad-contrib
-pkgver=0.11
-pkgrel=7
-pkgdesc="Add-ons for xmonad"
-arch=('i686' 'x86_64')
-url="http://xmonad.org/"
-license=('BSD')
-depends=('ghc=7.6.3-1' 'xmonad=0.11-6' 'sh' 'haskell-x11=1.6.1.1-3' 'haskell-x11-xft=0.3.1-9' 'haskell-utf8-string=0.3.7-5' 'haskell-random=1.0.1.1-5')
-install='xmonad-contrib.install'
-source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz xmonad-contrib-remove-getatomname.patch)
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- patch -Np1 -i $srcdir/xmonad-contrib-remove-getatomname.patch
-
- runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr -fuse_xft \
- --libsubdir=\$compiler/site-local/\$pkgid
- runhaskell Setup build
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- install -D -m744 register.sh $pkgdir/usr/share/haskell/$pkgname/register.sh
- install -m744 unregister.sh $pkgdir/usr/share/haskell/$pkgname/unregister.sh
- runhaskell Setup.lhs copy --destdir=$pkgdir
- install -D LICENSE $pkgdir/usr/share/licenses/xmonad-contrib/LICENSE
-}
-md5sums=('05fba258ac6063e49b50786a0869bd1f'
- '1d1fab94ae24b2a8f6a5dcd9cd6d9548')
diff --git a/community/xmonad-contrib/xmonad-contrib-remove-getatomname.patch b/community/xmonad-contrib/xmonad-contrib-remove-getatomname.patch
deleted file mode 100644
index 92ea9bddf..000000000
--- a/community/xmonad-contrib/xmonad-contrib-remove-getatomname.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -aur xmonad-contrib-0.11/XMonad/Hooks/DebugEvents.hs xmonad-contrib.new/XMonad/Hooks/DebugEvents.hs
---- xmonad-contrib-0.11/XMonad/Hooks/DebugEvents.hs 2013-01-01 01:32:44.000000000 +0000
-+++ xmonad-contrib.new/XMonad/Hooks/DebugEvents.hs 2013-03-18 07:54:52.082723862 +0000
-@@ -50,6 +50,7 @@
- import System.Process
-
- -- this should move into X11
-+{-
- foreign import ccall unsafe "XGetAtomName"
- xGetAtomName :: Display -> Atom -> IO CString
-
-@@ -63,6 +64,7 @@
- xFree n
- return $ Just n'
-
-+-}
- -- | Event hook to dump all received events. You should probably not use this
- -- unconditionally; it will produce massive amounts of output.
- debugEventsHook :: Event -> X All
diff --git a/community/xmonad-contrib/xmonad-contrib.install b/community/xmonad-contrib/xmonad-contrib.install
deleted file mode 100644
index e9208c833..000000000
--- a/community/xmonad-contrib/xmonad-contrib.install
+++ /dev/null
@@ -1,17 +0,0 @@
-HS_DIR=usr/share/haskell/xmonad-contrib
-
-post_install() {
- ${HS_DIR}/register.sh
-}
-
-pre_upgrade() {
- ${HS_DIR}/unregister.sh
-}
-
-post_upgrade() {
- ${HS_DIR}/register.sh
-}
-
-pre_remove() {
- ${HS_DIR}/unregister.sh
-}