Advertisement
Guest User

arbtt PKGBUILD

a guest
Mar 18th, 2011
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.09 KB | None | 0 0
  1. # Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
  2. _hkgname=arbtt
  3. pkgname=arbtt
  4. pkgver=0.6
  5. pkgrel=2
  6. pkgdesc="Automatic Rule-Based Time Tracker"
  7. url="http://hackage.haskell.org/package/${_hkgname}"
  8. license=('GPL')
  9. arch=('i686' 'x86_64')
  10. 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')
  11. depends=('gmp' 'libxss')
  12. options=('strip')
  13. source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
  14. build() {
  15.     cd ${srcdir}/${_hkgname}-${pkgver}
  16.     sed -i 's/parsec == 2/parsec == 3/g' arbtt.cabal
  17.     runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O
  18.     runhaskell Setup build
  19. }
  20. package() {
  21.     cd ${srcdir}/${_hkgname}-${pkgver}
  22.     runhaskell Setup copy --destdir=${pkgdir}
  23. }
  24. md5sums=('0330b212223e9db4541d1dfb006a4a83')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement