[arch-commits] Commit in haskell-store/repos/community-x86_64 (PKGBUILD PKGBUILD)

2020-12-25 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 17:34:47
  Author: felixonmars
Revision: 790859

archrelease: copy trunk to community-x86_64

Added:
  haskell-store/repos/community-x86_64/PKGBUILD
(from rev 790858, haskell-store/trunk/PKGBUILD)
Deleted:
  haskell-store/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   95 -
 1 file changed, 50 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-25 17:34:35 UTC (rev 790858)
+++ PKGBUILD2020-12-25 17:34:47 UTC (rev 790859)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=store
-pkgname=haskell-store
-pkgver=0.7.8
-pkgrel=3
-pkgdesc="Fast binary serialization"
-url="https://github.com/fpco/store;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
- 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free'
- 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
- 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
- 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck'
- 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
- 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
- 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('3655d1debd6e02f5921266cd7edb2b6275c0677c3349f7d5331e53bcf5fa0cee17ed18a80d5404d604d7218df77acf8c5092ceab12113f1bf1177e194f3f4894')
-
-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 \
--f-comparison-bench -f-small-bench
-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-store/repos/community-x86_64/PKGBUILD (from rev 790858, 
haskell-store/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-25 17:34:47 UTC (rev 790859)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=store
+pkgname=haskell-store
+pkgver=0.7.9
+pkgrel=1
+pkgdesc="Fast binary serialization"
+url="https://github.com/fpco/store;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
+ 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free'
+ 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
+ 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck'
+ 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
+ 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b19ce4b350becb6b2b84b3802e2f45010568e9a99d3e6203db115ebbefa1ff5805310b88b05c9d0d65c51d497de7e3131edcb1e4c69c7b59f75b968c611369f0')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d nats $_hkgname.cabal
+}
+
+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 \
+-f-comparison-bench -f-small-bench
+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 

[arch-commits] Commit in haskell-store/repos/community-x86_64 (PKGBUILD PKGBUILD)

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 17:27:46
  Author: felixonmars
Revision: 784988

archrelease: copy trunk to community-x86_64

Added:
  haskell-store/repos/community-x86_64/PKGBUILD
(from rev 784987, haskell-store/trunk/PKGBUILD)
Deleted:
  haskell-store/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   90 ++---
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-23 17:27:34 UTC (rev 784987)
+++ PKGBUILD2020-12-23 17:27:46 UTC (rev 784988)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=store
-pkgname=haskell-store
-pkgver=0.7.7
-pkgrel=38
-pkgdesc="Fast binary serialization"
-url="https://github.com/fpco/store;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
- 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free'
- 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
- 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
- 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck'
- 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
- 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
- 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('fb51d4fc4dea0c0b9be9847edf0ffefc19471b2befcb1d193bbc6c8e0dfbe8f8c9cb647dcb2f2b6db70711e1a77b5b37b8cce930d6bbc4ce2a80ea78adfd4765')
-
-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 \
--f-comparison-bench -f-small-bench
-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-store/repos/community-x86_64/PKGBUILD (from rev 784987, 
haskell-store/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-23 17:27:46 UTC (rev 784988)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=store
+pkgname=haskell-store
+pkgver=0.7.8
+pkgrel=1
+pkgdesc="Fast binary serialization"
+url="https://github.com/fpco/store;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
+ 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free'
+ 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
+ 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck'
+ 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
+ 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3655d1debd6e02f5921266cd7edb2b6275c0677c3349f7d5331e53bcf5fa0cee17ed18a80d5404d604d7218df77acf8c5092ceab12113f1bf1177e194f3f4894')
+
+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 \
+-f-comparison-bench -f-small-bench
+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 

[arch-commits] Commit in haskell-store/repos/community-x86_64 (PKGBUILD PKGBUILD)

2020-09-05 Thread Felix Yan via arch-commits
Date: Saturday, September 5, 2020 @ 21:13:34
  Author: felixonmars
Revision: 699189

archrelease: copy trunk to community-x86_64

Added:
  haskell-store/repos/community-x86_64/PKGBUILD
(from rev 699188, haskell-store/trunk/PKGBUILD)
Deleted:
  haskell-store/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   90 ++---
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-09-05 21:13:23 UTC (rev 699188)
+++ PKGBUILD2020-09-05 21:13:34 UTC (rev 699189)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=store
-pkgname=haskell-store
-pkgver=0.7.6
-pkgrel=9
-pkgdesc="Fast binary serialization"
-url="https://github.com/fpco/store;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
- 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free'
- 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
- 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
- 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck'
- 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
- 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
- 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('c1bf63b76e300aabce656e06899de9b95fa5a3d9b08be47b6ed640f5ae2a63d5dbb08e8058bb334af6a771a2dc8eeb700bf7162b806481e47e08d22bbb83b674')
-
-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 \
--f-comparison-bench -f-small-bench
-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-store/repos/community-x86_64/PKGBUILD (from rev 699188, 
haskell-store/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-09-05 21:13:34 UTC (rev 699189)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=store
+pkgname=haskell-store
+pkgver=0.7.7
+pkgrel=1
+pkgdesc="Fast binary serialization"
+url="https://github.com/fpco/store;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
+ 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free'
+ 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
+ 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck'
+ 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
+ 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fb51d4fc4dea0c0b9be9847edf0ffefc19471b2befcb1d193bbc6c8e0dfbe8f8c9cb647dcb2f2b6db70711e1a77b5b37b8cce930d6bbc4ce2a80ea78adfd4765')
+
+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 \
+-f-comparison-bench -f-small-bench
+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 

[arch-commits] Commit in haskell-store/repos/community-x86_64 (PKGBUILD PKGBUILD)

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 12:53:41
  Author: felixonmars
Revision: 677229

archrelease: copy trunk to community-x86_64

Added:
  haskell-store/repos/community-x86_64/PKGBUILD
(from rev 677228, haskell-store/trunk/PKGBUILD)
Deleted:
  haskell-store/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   95 -
 1 file changed, 45 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-13 12:53:32 UTC (rev 677228)
+++ PKGBUILD2020-08-13 12:53:41 UTC (rev 677229)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=store
-pkgname=haskell-store
-pkgver=0.7.5
-pkgrel=6
-pkgdesc="Fast binary serialization"
-url="https://github.com/fpco/store;
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
- 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free'
- 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
- 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
- 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck'
- 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
- 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
- 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('14b8e36cfc04eec80a6a37d27dbac08887a3bebd226941f368076ea39b09a5c432c4d38ce860776a677b8829ecbabd3f2448cc2437e00ebcf2fb3a36d1715af0')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/semigroups/d' -e '/fail/d' $_hkgname.cabal
-}
-
-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 \
--f-comparison-bench -f-small-bench
-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-store/repos/community-x86_64/PKGBUILD (from rev 677228, 
haskell-store/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-13 12:53:41 UTC (rev 677229)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=store
+pkgname=haskell-store
+pkgver=0.7.6
+pkgrel=1
+pkgdesc="Fast binary serialization"
+url="https://github.com/fpco/store;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
+ 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free'
+ 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
+ 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck'
+ 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
+ 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c1bf63b76e300aabce656e06899de9b95fa5a3d9b08be47b6ed640f5ae2a63d5dbb08e8058bb334af6a771a2dc8eeb700bf7162b806481e47e08d22bbb83b674')
+
+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 \
+-f-comparison-bench -f-small-bench
+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