Advertisement
X-dark

yeganesh PKGBUILD

Jul 21st, 2011
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.02 KB | None | 0 0
  1. # Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
  2. _hkgname=yeganesh
  3. pkgname=yeganesh
  4. pkgver=2.2.1
  5. pkgrel=3
  6. pkgdesc="small dmenu wrapper"
  7. url="http://hackage.haskell.org/package/${_hkgname}"
  8. license=('custom:BSD3')
  9. arch=('i686' 'x86_64')
  10. makedepends=('ghc' 'haskell-containers=0.4.0.0' 'haskell-directory=1.1.0.0' 'haskell-filepath=1.2.0.0' 'haskell-process=1.0.1.5' 'haskell-strict>=0.3' 'haskell-time=1.2.0.3' 'haskell-xdg-basedir>=0.2')
  11. depends=('gmp')
  12. options=('strip')
  13. source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
  14. md5sums=('6d6c1f7c546131eeda46770d7bd129a7')
  15. build() {
  16.     cd ${srcdir}/${_hkgname}-${pkgver}
  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.     install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
  24.     rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement