[arch-commits] Commit in haskell-fsnotify/repos/community-staging-x86_64 (2 files)
Date: Sunday, August 16, 2020 @ 17:52:33 Author: felixonmars Revision: 681713 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 681712, haskell-fsnotify/trunk/PKGBUILD) Deleted: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD --+ PKGBUILD | 78 ++--- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-08-16 17:52:22 UTC (rev 681712) +++ PKGBUILD2020-08-16 17:52:33 UTC (rev 681713) @@ -1,39 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Arch Haskell Team - -_hkgname=fsnotify -pkgname=haskell-fsnotify -pkgver=0.3.0.1 -pkgrel=112 -pkgdesc="Cross platform library for file change notification." -url="https://github.com/haskell-fswatch/hfsnotify"; -license=("BSD") -arch=('x86_64') -depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly' - "haskell-unix-compat") -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) -sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a') - -build() { -cd $_hkgname-$pkgver - -runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ ---prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build $MAKEFLAGS -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { -cd $_hkgname-$pkgver - -install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh -install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh -runhaskell Setup copy --destdir="$pkgdir" -install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE -} Copied: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 681712, haskell-fsnotify/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-08-16 17:52:33 UTC (rev 681713) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=fsnotify +pkgname=haskell-fsnotify +pkgver=0.3.0.1 +pkgrel=113 +pkgdesc="Cross platform library for file change notification." +url="https://github.com/haskell-fswatch/hfsnotify"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly' + "haskell-unix-compat") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-fsnotify/repos/community-staging-x86_64 (2 files)
Date: Wednesday, February 5, 2020 @ 10:31:36 Author: felixonmars Revision: 563087 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 563086, haskell-fsnotify/trunk/PKGBUILD) Deleted: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD --+ PKGBUILD | 78 ++--- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-05 10:31:20 UTC (rev 563086) +++ PKGBUILD2020-02-05 10:31:36 UTC (rev 563087) @@ -1,39 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Arch Haskell Team - -_hkgname=fsnotify -pkgname=haskell-fsnotify -pkgver=0.3.0.1 -pkgrel=71 -pkgdesc="Cross platform library for file change notification." -url="https://github.com/haskell-fswatch/hfsnotify"; -license=("BSD") -arch=('x86_64') -depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly' - "haskell-unix-compat") -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) -sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a') - -build() { -cd $_hkgname-$pkgver - -runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ ---prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { -cd $_hkgname-$pkgver - -install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh -install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh -runhaskell Setup copy --destdir="$pkgdir" -install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" -} Copied: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 563086, haskell-fsnotify/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-02-05 10:31:36 UTC (rev 563087) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=fsnotify +pkgname=haskell-fsnotify +pkgver=0.3.0.1 +pkgrel=72 +pkgdesc="Cross platform library for file change notification." +url="https://github.com/haskell-fswatch/hfsnotify"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly' + "haskell-unix-compat") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-fsnotify/repos/community-staging-x86_64 (2 files)
Date: Tuesday, May 28, 2019 @ 23:41:19 Author: felixonmars Revision: 473324 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 473323, haskell-fsnotify/trunk/PKGBUILD) Deleted: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD --+ PKGBUILD | 78 ++--- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-05-28 23:41:08 UTC (rev 473323) +++ PKGBUILD2019-05-28 23:41:19 UTC (rev 473324) @@ -1,39 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Arch Haskell Team - -_hkgname=fsnotify -pkgname=haskell-fsnotify -pkgver=0.3.0.1 -pkgrel=47 -pkgdesc="Cross platform library for file change notification." -url="https://github.com/haskell-fswatch/hfsnotify"; -license=("BSD") -arch=('x86_64') -depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly' - "haskell-unix-compat") -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) -sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a') - -build() { -cd $_hkgname-$pkgver - -runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ ---prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { -cd $_hkgname-$pkgver - -install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh -install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh -runhaskell Setup copy --destdir="$pkgdir" -install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" -} Copied: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 473323, haskell-fsnotify/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-05-28 23:41:19 UTC (rev 473324) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=fsnotify +pkgname=haskell-fsnotify +pkgver=0.3.0.1 +pkgrel=48 +pkgdesc="Cross platform library for file change notification." +url="https://github.com/haskell-fswatch/hfsnotify"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly' + "haskell-unix-compat") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-fsnotify/repos/community-staging-x86_64 (2 files)
Date: Monday, May 27, 2019 @ 15:52:49 Author: felixonmars Revision: 471573 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 471572, haskell-fsnotify/trunk/PKGBUILD) Deleted: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD --+ PKGBUILD | 78 ++--- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-05-27 15:52:35 UTC (rev 471572) +++ PKGBUILD2019-05-27 15:52:49 UTC (rev 471573) @@ -1,39 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Arch Haskell Team - -_hkgname=fsnotify -pkgname=haskell-fsnotify -pkgver=0.3.0.1 -pkgrel=45 -pkgdesc="Cross platform library for file change notification." -url="https://github.com/haskell-fswatch/hfsnotify"; -license=("BSD") -arch=('x86_64') -depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly' - "haskell-unix-compat") -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) -sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a') - -build() { -cd $_hkgname-$pkgver - -runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ ---prefix=/usr --docdir=/usr/share/doc/$pkgname \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { -cd $_hkgname-$pkgver - -install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh -install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh -runhaskell Setup copy --destdir="$pkgdir" -install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" -} Copied: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 471572, haskell-fsnotify/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-05-27 15:52:49 UTC (rev 471573) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=fsnotify +pkgname=haskell-fsnotify +pkgver=0.3.0.1 +pkgrel=46 +pkgdesc="Cross platform library for file change notification." +url="https://github.com/haskell-fswatch/hfsnotify"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly' + "haskell-unix-compat") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in haskell-fsnotify/repos/community-staging-x86_64 (2 files)
Date: Monday, May 21, 2018 @ 09:30:33 Author: felixonmars Revision: 325969 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 325968, haskell-fsnotify/trunk/PKGBUILD) Deleted: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD --+ PKGBUILD | 80 ++--- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-05-21 09:30:11 UTC (rev 325968) +++ PKGBUILD2018-05-21 09:30:33 UTC (rev 325969) @@ -1,40 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Arch Haskell Team - -_hkgname=fsnotify -pkgname=haskell-fsnotify -pkgver=0.2.1.1 -pkgrel=9 -pkgdesc="Cross platform library for file change notification." -url="https://github.com/haskell-fswatch/hfsnotify"; -license=("custom:BSD3") -arch=('x86_64') -depends=('ghc-libs' "haskell-async" "haskell-hinotify" - "haskell-unix-compat") -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) -sha512sums=('d4ab5095840b6144582283e9a8e85143d8a929fdd8249421bbe23e05aeafad3c14da3a00e03c69afea94c0a1ba5ec9be85ec5fe8b3d0336cbce738a7279bcc01') - -build() { -cd "${srcdir}/${_hkgname}-${pkgver}" - -runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ ---prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { -cd "${srcdir}/${_hkgname}-${pkgver}" - -install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" -install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" -runhaskell Setup copy --destdir="${pkgdir}" -install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" -} Copied: haskell-fsnotify/repos/community-staging-x86_64/PKGBUILD (from rev 325968, haskell-fsnotify/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-05-21 09:30:33 UTC (rev 325969) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=fsnotify +pkgname=haskell-fsnotify +pkgver=0.2.1.1 +pkgrel=10 +pkgdesc="Cross platform library for file change notification." +url="https://github.com/haskell-fswatch/hfsnotify"; +license=("custom:BSD3") +arch=('x86_64') +depends=('ghc-libs' "haskell-async" "haskell-hinotify" + "haskell-unix-compat") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('d4ab5095840b6144582283e9a8e85143d8a929fdd8249421bbe23e05aeafad3c14da3a00e03c69afea94c0a1ba5ec9be85ec5fe8b3d0336cbce738a7279bcc01') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}