Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

arbtt PKGBUILD

By: a guest on Mar 18th, 2011  |  syntax: Bash  |  size: 1.09 KB  |  hits: 120  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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')