mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
23 lines
918 B
Bash
23 lines
918 B
Bash
|
# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
|
||
|
# Package generated by cabal2arch 0.4
|
||
|
pkgname=xmobar
|
||
|
pkgver=0.9.2
|
||
|
pkgrel=1
|
||
|
pkgdesc="A Minimalistic Text Based Status Bar"
|
||
|
url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xmobar"
|
||
|
license=('custom:BSD3')
|
||
|
arch=('i686' 'x86_64')
|
||
|
makedepends=('ghc' 'haskell-x11>=1.3.0' 'haskell-x11-xft>=0.2' 'haskell-utf8-string')
|
||
|
depends=('gmp')
|
||
|
options=('strip')
|
||
|
source=(http://hackage.haskell.org/packages/archive/xmobar/$pkgver/xmobar-$pkgver.tar.gz)
|
||
|
md5sums=('1177eef9f032256ccf370239a0703eab')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/xmobar-$pkgver
|
||
|
runhaskell Setup configure --disable-optimization --prefix=/usr --constraint="base<4" --flags="with_xft" || return 1
|
||
|
runhaskell Setup build || return 1
|
||
|
runhaskell Setup copy --destdir=$startdir/pkg || return 1
|
||
|
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
|
||
|
}
|