summaryrefslogtreecommitdiff
path: root/community/xmonad-contrib/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-05 04:02:14 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-05 04:02:14 +0000
commitd7918d0226da2805ff09c48963d2c79e1327c630 (patch)
tree7899e81c92db3791af5dd17e05c3be10e8a9c007 /community/xmonad-contrib/PKGBUILD
parentbc80cf7c2a23a9d9580f3db36652165fd307b598 (diff)
Mon May 5 03:56:02 UTC 2014
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