blob: a4a3ad42e0a0915fd5f68c08c7c9396a2fe22327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $Id: PKGBUILD 43764 2011-03-29 17:22:35Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
# Package generated by cabal2arch 0.4
pkgname=xmobar
pkgver=0.13
pkgrel=2
pkgdesc="A Minimalistic Text Based Status Bar"
url="http://hackage.haskell.org/package/xmobar"
license=('custom:BSD3')
arch=('i686' 'x86_64' 'mips64el')
depends=('gmp' 'libxft' 'libxinerama' 'wireless_tools')
makedepends=('ghc>=7.0.2' 'haskell-x11>=1.3.0' 'haskell-x11-xft>=0.2' 'haskell-utf8-string'
'haskell-stm' 'haskell-parsec>=3' 'haskell-mtl>=2')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/xmobar/$pkgver/xmobar-$pkgver.tar.gz)
md5sums=('f7946236c068b1e7944f16b7c0732857')
build() {
cd ${srcdir}/xmobar-$pkgver
# runhaskell Setup configure --disable-optimization --prefix=/usr --flags="with_xft with_alsa with_inotify with_iwlib"
runhaskell Setup configure --disable-optimization --prefix=/usr --flags="with_xft with_iwlib"
runhaskell Setup build
}
package() {
cd ${srcdir}/xmobar-$pkgver
runhaskell Setup copy --destdir=${pkgdir}
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}
|