diff options
Diffstat (limited to 'community/haskell-primitive/PKGBUILD')
-rw-r--r-- | community/haskell-primitive/PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/community/haskell-primitive/PKGBUILD b/community/haskell-primitive/PKGBUILD index 088f5e029..3b03198e4 100644 --- a/community/haskell-primitive/PKGBUILD +++ b/community/haskell-primitive/PKGBUILD @@ -1,19 +1,20 @@ -# $Id: PKGBUILD 89313 2013-04-28 16:52:35Z td123 $ +# $Id: PKGBUILD 101124 2013-11-17 20:46:26Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-primitive -pkgver=0.5.0.1 -pkgrel=4 +pkgver=0.5.1.0 +pkgrel=1 pkgdesc="Wrappers for primitive operations" url="http://hackage.haskell.org/package/primitive" license=("custom:BSD3") arch=('i686' 'x86_64') makedepends=() depends=("ghc") -options=('strip') +options=('strip' 'staticlibs') install="${pkgname}.install" source=("http://hackage.haskell.org/packages/archive/primitive/${pkgver}/primitive-${pkgver}.tar.gz") sha256sums=('526c9d4d06b7b379cb1aaffeffbb30bef810e771f29617ef6d0d99df711f4313') +sha256sums=('8817a5f307c4605709b37857c048caa22fcc7550d681d64a2eea756126721529') build() { cd ${srcdir}/primitive-${pkgver} @@ -28,6 +29,9 @@ build() { } package() { + _ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-` + depends=("ghc=${_ghcver}") + cd ${srcdir}/primitive-${pkgver} install -Dm744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh |