
arbtt PKGBUILD
By: a guest on
Mar 18th, 2011 | syntax:
Bash | size: 1.09 KB | hits: 119 | expires: Never
# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
_hkgname=arbtt
pkgname=arbtt
pkgver=0.6
pkgrel=2
pkgdesc="Automatic Rule-Based Time Tracker"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('ghc' 'haskell-x11>1.4.4' 'haskell-binary' 'haskell-bytestring>=0.9.1.7' 'haskell-containers>=0.3.0.0' 'haskell-directory>=1.0.1.1' 'haskell-filepath>=1.1.0.4' 'haskell-mtl' 'haskell-old-locale>=1.0.0.2' 'haskell-parsec>=2.1.0.1' 'haskell-pcre-light' 'haskell-time>=1.1.4' 'haskell-unix>=2.4.0.2' 'haskell-utf8-string' 'libxss')
depends=('gmp' 'libxss')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
build() {
cd ${srcdir}/${_hkgname}-${pkgver}
sed -i 's/parsec == 2/parsec == 3/g' arbtt.cabal
runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O
runhaskell Setup build
}
package() {
cd ${srcdir}/${_hkgname}-${pkgver}
runhaskell Setup copy --destdir=${pkgdir}
}
md5sums=('0330b212223e9db4541d1dfb006a4a83')