[arch-commits] Commit in haskell-inspection-testing/repos (2 files)
Date: Wednesday, December 23, 2020 @ 22:39:32 Author: felixonmars Revision: 785566 archrelease: copy trunk to community-staging-x86_64 Added: haskell-inspection-testing/repos/community-staging-x86_64/ haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 785565, haskell-inspection-testing/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 785565, haskell-inspection-testing/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-23 22:39:32 UTC (rev 785566) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=inspection-testing +pkgname=haskell-inspection-testing +pkgver=0.4.2.4 +pkgrel=5 +pkgdesc="GHC plugin to do inspection testing" +url="https://github.com/nomeata/inspection-testing"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('16ebfcd20e4ee3a9117670ad9e0d683002262a2f3c52dcfdb7c7123f256db4f133780e759a80469a14c786a4158ef9ba4e7d534e728e8d44188b11765a1e8745') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-inspection-testing/repos (2 files)
Date: Sunday, August 30, 2020 @ 17:48:51 Author: felixonmars Revision: 692837 archrelease: copy trunk to community-staging-x86_64 Added: haskell-inspection-testing/repos/community-staging-x86_64/ haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 692836, haskell-inspection-testing/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 692836, haskell-inspection-testing/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-30 17:48:51 UTC (rev 692837) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=inspection-testing +pkgname=haskell-inspection-testing +pkgver=0.4.2.4 +pkgrel=4 +pkgdesc="GHC plugin to do inspection testing" +url="https://github.com/nomeata/inspection-testing"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('16ebfcd20e4ee3a9117670ad9e0d683002262a2f3c52dcfdb7c7123f256db4f133780e759a80469a14c786a4158ef9ba4e7d534e728e8d44188b11765a1e8745') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-inspection-testing/repos (2 files)
Date: Monday, August 17, 2020 @ 06:30:03 Author: felixonmars Revision: 682300 archrelease: copy trunk to community-staging-x86_64 Added: haskell-inspection-testing/repos/community-staging-x86_64/ haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 682299, haskell-inspection-testing/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 682299, haskell-inspection-testing/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-17 06:30:03 UTC (rev 682300) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=inspection-testing +pkgname=haskell-inspection-testing +pkgver=0.4.2.4 +pkgrel=3 +pkgdesc="GHC plugin to do inspection testing" +url="https://github.com/nomeata/inspection-testing"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('16ebfcd20e4ee3a9117670ad9e0d683002262a2f3c52dcfdb7c7123f256db4f133780e759a80469a14c786a4158ef9ba4e7d534e728e8d44188b11765a1e8745') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-inspection-testing/repos (2 files)
Date: Thursday, April 23, 2020 @ 11:20:01 Author: felixonmars Revision: 618079 archrelease: copy trunk to community-staging-x86_64 Added: haskell-inspection-testing/repos/community-staging-x86_64/ haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 618078, haskell-inspection-testing/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 618078, haskell-inspection-testing/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-23 11:20:01 UTC (rev 618079) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=inspection-testing +pkgname=haskell-inspection-testing +pkgver=0.4.2.4 +pkgrel=2 +pkgdesc="GHC plugin to do inspection testing" +url="https://github.com/nomeata/inspection-testing"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('16ebfcd20e4ee3a9117670ad9e0d683002262a2f3c52dcfdb7c7123f256db4f133780e759a80469a14c786a4158ef9ba4e7d534e728e8d44188b11765a1e8745') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-inspection-testing/repos (2 files)
Date: Tuesday, April 14, 2020 @ 03:46:37 Author: felixonmars Revision: 613953 archrelease: copy trunk to community-staging-x86_64 Added: haskell-inspection-testing/repos/community-staging-x86_64/ haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 613952, haskell-inspection-testing/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 613952, haskell-inspection-testing/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-14 03:46:37 UTC (rev 613953) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=inspection-testing +pkgname=haskell-inspection-testing +pkgver=0.4.2.4 +pkgrel=1 +pkgdesc="GHC plugin to do inspection testing" +url="https://github.com/nomeata/inspection-testing"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('16ebfcd20e4ee3a9117670ad9e0d683002262a2f3c52dcfdb7c7123f256db4f133780e759a80469a14c786a4158ef9ba4e7d534e728e8d44188b11765a1e8745') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-inspection-testing/repos (2 files)
Date: Wednesday, February 26, 2020 @ 21:53:32 Author: felixonmars Revision: 583349 archrelease: copy trunk to community-staging-x86_64 Added: haskell-inspection-testing/repos/community-staging-x86_64/ haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 583348, haskell-inspection-testing/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 583348, haskell-inspection-testing/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-26 21:53:32 UTC (rev 583349) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=inspection-testing +pkgname=haskell-inspection-testing +pkgver=0.4.2.2 +pkgrel=4 +pkgdesc="GHC plugin to do inspection testing" +url="https://github.com/nomeata/inspection-testing"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('11442d75db189d93ad56de234da9c28dc992fb16bc8eeef2f567bfee928dc4f67d65545fe10d78b3c6322adabb2051f0d11e1e5f32ff6f4988d5dffcb0ce4024') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-inspection-testing/repos (2 files)
Date: Saturday, February 15, 2020 @ 23:20:02 Author: felixonmars Revision: 572014 archrelease: copy trunk to community-staging-x86_64 Added: haskell-inspection-testing/repos/community-staging-x86_64/ haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 572013, haskell-inspection-testing/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 572013, haskell-inspection-testing/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-15 23:20:02 UTC (rev 572014) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=inspection-testing +pkgname=haskell-inspection-testing +pkgver=0.4.2.2 +pkgrel=3 +pkgdesc="GHC plugin to do inspection testing" +url="https://github.com/nomeata/inspection-testing"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('11442d75db189d93ad56de234da9c28dc992fb16bc8eeef2f567bfee928dc4f67d65545fe10d78b3c6322adabb2051f0d11e1e5f32ff6f4988d5dffcb0ce4024') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-inspection-testing/repos (2 files)
Date: Thursday, January 9, 2020 @ 13:58:19 Author: felixonmars Revision: 551182 archrelease: copy trunk to community-staging-x86_64 Added: haskell-inspection-testing/repos/community-staging-x86_64/ haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 551181, haskell-inspection-testing/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD (from rev 551181, haskell-inspection-testing/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-09 13:58:19 UTC (rev 551182) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=inspection-testing +pkgname=haskell-inspection-testing +pkgver=0.4.2.2 +pkgrel=2 +pkgdesc="GHC plugin to do inspection testing" +url="https://github.com/nomeata/inspection-testing"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('11442d75db189d93ad56de234da9c28dc992fb16bc8eeef2f567bfee928dc4f67d65545fe10d78b3c6322adabb2051f0d11e1e5f32ff6f4988d5dffcb0ce4024') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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-inspection-testing/repos (2 files)
Date: Thursday, January 9, 2020 @ 11:29:23 Author: felixonmars Revision: 551024 archrelease: copy trunk to community-x86_64 Added: haskell-inspection-testing/repos/community-x86_64/ haskell-inspection-testing/repos/community-x86_64/PKGBUILD (from rev 551023, haskell-inspection-testing/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-inspection-testing/repos/community-x86_64/PKGBUILD (from rev 551023, haskell-inspection-testing/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2020-01-09 11:29:23 UTC (rev 551024) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=inspection-testing +pkgname=haskell-inspection-testing +pkgver=0.4.2.2 +pkgrel=1 +pkgdesc="GHC plugin to do inspection testing" +url="https://github.com/nomeata/inspection-testing"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('11442d75db189d93ad56de234da9c28dc992fb16bc8eeef2f567bfee928dc4f67d65545fe10d78b3c6322adabb2051f0d11e1e5f32ff6f4988d5dffcb0ce4024') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--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 +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test +} + +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" +}