summaryrefslogtreecommitdiff
path: root/community/xmonad-contrib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xmonad-contrib/PKGBUILD')
-rw-r--r--community/xmonad-contrib/PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/community/xmonad-contrib/PKGBUILD b/community/xmonad-contrib/PKGBUILD
index 44f7ee06a..d71bd397c 100644
--- a/community/xmonad-contrib/PKGBUILD
+++ b/community/xmonad-contrib/PKGBUILD
@@ -1,22 +1,30 @@
-# $Id: PKGBUILD 96822 2013-09-06 02:46:41Z bgyorgy $
+# $Id: PKGBUILD 110644 2014-05-04 13:55:23Z 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.2
-pkgrel=2
+pkgrel=3
pkgdesc="Add-ons for xmonad"
arch=('i686' 'x86_64')
url="http://xmonad.org/"
license=('BSD')
-depends=('ghc=7.6.3-1' 'xmonad=0.11-7' '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')
+depends=('ghc=7.8.2-2' 'xmonad=0.11-8' 'sh' 'haskell-x11=1.6.1.1' 'haskell-x11-xft=0.3.1' 'haskell-utf8-string=0.3.7' 'haskell-random=1.0.1.1')
install='xmonad-contrib.install'
-source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('415a7ed9449198b0e93d49ab0a4a0f72')
+options=('staticlibs')
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz 'remove_unnecessary_contexts.patch')
+md5sums=('415a7ed9449198b0e93d49ab0a4a0f72'
+ '724a45ea306054ddb7f8a42b185e708f')
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -Np1 -i $srcdir/remove_unnecessary_contexts.patch
+}
build() {
cd $srcdir/$pkgname-$pkgver
+
runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr -fuse_xft \
--libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build