Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

yeganesh PKGBUILD

By: X-dark on Jul 21st, 2011  |  syntax: Bash  |  size: 1.02 KB  |  views: 125  |  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=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. }