summaryrefslogtreecommitdiff
path: root/community/xmobar/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xmobar/PKGBUILD')
-rw-r--r--community/xmobar/PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/community/xmobar/PKGBUILD b/community/xmobar/PKGBUILD
index 2b61e3ba3..0952d3da1 100644
--- a/community/xmobar/PKGBUILD
+++ b/community/xmobar/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 77363 2012-10-09 04:19:10Z tdziedzic $
+# $Id: PKGBUILD 80796 2012-12-03 20:58:24Z jelle $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
pkgname=xmobar
pkgver=0.16
-pkgrel=1
+pkgrel=3
pkgdesc="A Minimalistic Text Based Status Bar"
url="http://hackage.haskell.org/package/xmobar"
license=('custom:BSD3')
@@ -13,16 +13,15 @@ depends=('gmp' 'libxft' 'libxinerama' 'wireless_tools' 'libxrandr')
makedepends=('ghc=7.6.1-1' 'haskell-x11=1.6.0.2' 'haskell-x11-xft=0.3.1' 'haskell-utf8-string'
'haskell-stm>=2.3' 'haskell-parsec>=3.1' 'haskell-mtl>=2')
options=('strip')
-#source=(http://hackage.haskell.org/packages/archive/xmobar/$pkgver/xmobar-$pkgver.tar.gz xmobar-0.15-builddep.patch)
-# Use Git snapshot for Ghc 7.6.1 rebuild
-source=(ftp://ftp.archlinux.org/other/community/xmobar/xmobar-$pkgver.tar.gz
+source=(http://hackage.haskell.org/packages/archive/xmobar/$pkgver/xmobar-$pkgver.tar.gz
0001-Update-usage-of-catch-to-catchIOError-since-catch-ha.patch)
-
+md5sums=('b470f8253f8d2b014f59e9d657cc7ddd'
+ '149583c19ac3d0ad829f3138342bb9db')
build() {
cd ${srcdir}/xmobar
patch -Np1 -i $srcdir/0001-Update-usage-of-catch-to-catchIOError-since-catch-ha.patch
- runhaskell Setup configure --disable-optimization --prefix=/usr --flags="with_utf8 with_xft with_iwlib"
+ runhaskell Setup configure --disable-optimization --prefix=/usr --flags="with_threaded with_utf8 with_xft with_iwlib"
runhaskell Setup build
}
@@ -32,6 +31,3 @@ package() {
install -D -m644 license ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}
-md5sums=('b470f8253f8d2b014f59e9d657cc7ddd'
- 'ffd6079c879f3b6ff7208a846d6ee241'
- '149583c19ac3d0ad829f3138342bb9db')