[arch-commits] Commit in haskell-hashable/repos (2 files)

2022-09-05 Thread Felix Yan via arch-commits
Date: Monday, September 5, 2022 @ 20:10:55
  Author: felixonmars
Revision: 1293218

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1293217, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1293217, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-05 20:10:55 UTC (rev 1293218)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.1.0
+pkgrel=10
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2819489ce9c442dd078535a67341a3c03002fd67c6b9ac428945ce8449aaf5a11e1623376d3c17a278f0dadac73ad831ab1e496d6ee26677347d52bb1efdd4c2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 19:34:22
  Author: felixonmars
Revision: 1285681

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1285680, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1285680, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 19:34:22 UTC (rev 1285681)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.1.0
+pkgrel=7
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2819489ce9c442dd078535a67341a3c03002fd67c6b9ac428945ce8449aaf5a11e1623376d3c17a278f0dadac73ad831ab1e496d6ee26677347d52bb1efdd4c2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 10:52:37
  Author: felixonmars
Revision: 1281758

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1281757, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1281757, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 10:52:37 UTC (rev 1281758)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.1.0
+pkgrel=5
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2819489ce9c442dd078535a67341a3c03002fd67c6b9ac428945ce8449aaf5a11e1623376d3c17a278f0dadac73ad831ab1e496d6ee26677347d52bb1efdd4c2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 18:33:31
  Author: felixonmars
Revision: 1276627

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1276626, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1276626, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 18:33:31 UTC (rev 1276627)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.1.0
+pkgrel=1
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2819489ce9c442dd078535a67341a3c03002fd67c6b9ac428945ce8449aaf5a11e1623376d3c17a278f0dadac73ad831ab1e496d6ee26677347d52bb1efdd4c2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 17:32:18
  Author: felixonmars
Revision: 1268185

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1268184, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1268184, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 17:32:18 UTC (rev 1268185)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=32
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 13:04:21
  Author: felixonmars
Revision: 1260661

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1260660, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1260660, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 13:04:21 UTC (rev 1260661)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=29
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-07-24 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 03:20:28
  Author: felixonmars
Revision: 1256079

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1256078, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1256078, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 03:20:28 UTC (rev 1256079)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=27
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-07-11 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 01:27:55
  Author: felixonmars
Revision: 1249934

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1249933, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1249933, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 01:27:55 UTC (rev 1249934)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=25
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 10:39:00
  Author: felixonmars
Revision: 1244155

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1244154, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1244154, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 10:39:00 UTC (rev 1244155)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=22
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 13:35:26
  Author: felixonmars
Revision: 1240430

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1240429, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1240429, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 13:35:26 UTC (rev 1240430)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=20
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 18:38:20
  Author: felixonmars
Revision: 1234439

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1234438, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1234438, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 18:38:20 UTC (rev 1234439)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=17
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 15:24:28
  Author: felixonmars
Revision: 1230450

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1230449, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1230449, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 15:24:28 UTC (rev 1230450)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=15
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 15:15:34
  Author: felixonmars
Revision: 1222935

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1222934, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1222934, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 15:15:34 UTC (rev 1222935)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=12
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-06-02 Thread Felix Yan via arch-commits
Date: Thursday, June 2, 2022 @ 19:53:39
  Author: felixonmars
Revision: 1219024

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1219023, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1219023, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-02 19:53:39 UTC (rev 1219024)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=9
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 06:57:15
  Author: felixonmars
Revision: 1214836

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1214835, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1214835, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 06:57:15 UTC (rev 1214836)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=7
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 12:15:21
  Author: felixonmars
Revision: 1211102

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1211101, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1211101, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 12:15:21 UTC (rev 1211102)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=5
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 10:29:01
  Author: felixonmars
Revision: 1203640

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1203639, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1203639, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 10:29:01 UTC (rev 1203640)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.2
+pkgrel=1
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-05-12 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 05:53:20
  Author: felixonmars
Revision: 1200225

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1200224, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1200224, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 05:53:20 UTC (rev 1200225)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.1
+pkgrel=7
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('36936c63a736e742f5d4f68370827a0bb75185dddb00c53459f0ba13938d3a3fcb97854c65ae649e1ea4ab939ca58c692b24b954efa4a11bd72eecec43289ada')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 09:03:24
  Author: felixonmars
Revision: 1192791

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1192790, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1192790, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-04 09:03:24 UTC (rev 1192791)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.1
+pkgrel=4
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('36936c63a736e742f5d4f68370827a0bb75185dddb00c53459f0ba13938d3a3fcb97854c65ae649e1ea4ab939ca58c692b24b954efa4a11bd72eecec43289ada')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 17:24:25
  Author: felixonmars
Revision: 1187672

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1187671, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1187671, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 17:24:25 UTC (rev 1187672)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.1
+pkgrel=1
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('36936c63a736e742f5d4f68370827a0bb75185dddb00c53459f0ba13938d3a3fcb97854c65ae649e1ea4ab939ca58c692b24b954efa4a11bd72eecec43289ada')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-04-09 Thread Felix Yan via arch-commits
Date: Saturday, April 9, 2022 @ 22:21:31
  Author: felixonmars
Revision: 1183242

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1183241, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1183241, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-09 22:21:31 UTC (rev 1183242)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=33
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-03-31 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 00:41:18
  Author: felixonmars
Revision: 1178072

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1178071, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1178071, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 00:41:18 UTC (rev 1178072)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=30
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-03-23 Thread Felix Yan via arch-commits
Date: Wednesday, March 23, 2022 @ 22:03:14
  Author: felixonmars
Revision: 1172131

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1172130, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1172130, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-23 22:03:14 UTC (rev 1172131)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=27
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 15:05:51
  Author: felixonmars
Revision: 1166927

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1166926, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1166926, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 15:05:51 UTC (rev 1166927)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=25
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 14:33:54
  Author: felixonmars
Revision: 1163735

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1163734, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1163734, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 14:33:54 UTC (rev 1163735)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=22
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-03-18 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 04:27:10
  Author: felixonmars
Revision: 1160427

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1160426, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1160426, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 04:27:10 UTC (rev 1160427)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=19
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-03-17 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 23:57:23
  Author: felixonmars
Revision: 1157538

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1157537, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1157537, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 23:57:23 UTC (rev 1157538)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=17
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-03-13 Thread Felix Yan via arch-commits
Date: Sunday, March 13, 2022 @ 21:03:47
  Author: felixonmars
Revision: 1151413

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1151412, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1151412, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-13 21:03:47 UTC (rev 1151413)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=14
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-03-10 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 01:31:05
  Author: felixonmars
Revision: 1147106

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1147105, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1147105, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 01:31:05 UTC (rev 1147106)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=11
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-03-06 Thread Felix Yan via arch-commits
Date: Sunday, March 6, 2022 @ 23:44:04
  Author: felixonmars
Revision: 1144139

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1144138, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1144138, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-06 23:44:04 UTC (rev 1144139)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=8
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-03-02 Thread Felix Yan via arch-commits
Date: Thursday, March 3, 2022 @ 02:08:01
  Author: felixonmars
Revision: 1140260

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1140259, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1140259, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-03 02:08:01 UTC (rev 1140260)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=5
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-02-18 Thread Felix Yan via arch-commits
Date: Friday, February 18, 2022 @ 18:18:29
  Author: felixonmars
Revision: 1134036

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1134035, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1134035, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-18 18:18:29 UTC (rev 1134036)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.4.0.0
+pkgrel=1
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f1cdbb5658c3f00ea6d127a33c9447504d28535b366f7139e16c895aaa0d4376de9681d092b1b145896da80da763177c575745c30a95b5d9a1b59633354b4cd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u ghc-bignum $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-02-07 Thread Felix Yan via arch-commits
Date: Monday, February 7, 2022 @ 11:00:38
  Author: felixonmars
Revision: 1127519

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1127518, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1127518, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-07 11:00:38 UTC (rev 1127519)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.5.0
+pkgrel=10
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('95b10f671abbe2baecab84e619d0c88ebb6807f711155fa6cc90e46818e73e44e9cfc585dfac35ad63a73e55f01be60a11db0a012ed20818c30bae042e70d230')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -r ghc-bignum:ghc-bignum,ghc-bignum-orphans $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-02-01 Thread Felix Yan via arch-commits
Date: Wednesday, February 2, 2022 @ 00:41:26
  Author: felixonmars
Revision: 1122344

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1122343, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1122343, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-02 00:41:26 UTC (rev 1122344)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.5.0
+pkgrel=8
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('95b10f671abbe2baecab84e619d0c88ebb6807f711155fa6cc90e46818e73e44e9cfc585dfac35ad63a73e55f01be60a11db0a012ed20818c30bae042e70d230')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -r ghc-bignum:ghc-bignum,ghc-bignum-orphans $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-01-27 Thread Felix Yan via arch-commits
Date: Thursday, January 27, 2022 @ 13:31:46
  Author: felixonmars
Revision: 1117081

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1117080, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1117080, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-27 13:31:46 UTC (rev 1117081)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.5.0
+pkgrel=6
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('95b10f671abbe2baecab84e619d0c88ebb6807f711155fa6cc90e46818e73e44e9cfc585dfac35ad63a73e55f01be60a11db0a012ed20818c30bae042e70d230')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -r ghc-bignum:ghc-bignum,ghc-bignum-orphans $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-01-23 Thread Felix Yan via arch-commits
Date: Monday, January 24, 2022 @ 00:56:54
  Author: felixonmars
Revision: 1114164

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1114163, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1114163, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-24 00:56:54 UTC (rev 1114164)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.5.0
+pkgrel=4
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('95b10f671abbe2baecab84e619d0c88ebb6807f711155fa6cc90e46818e73e44e9cfc585dfac35ad63a73e55f01be60a11db0a012ed20818c30bae042e70d230')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -r ghc-bignum:ghc-bignum,ghc-bignum-orphans $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-01-17 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 08:37:07
  Author: felixonmars
Revision: 1107526

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1107525, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1107525, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 08:37:07 UTC (rev 1107526)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.5.0
+pkgrel=1
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('95b10f671abbe2baecab84e619d0c88ebb6807f711155fa6cc90e46818e73e44e9cfc585dfac35ad63a73e55f01be60a11db0a012ed20818c30bae042e70d230')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -r ghc-bignum:ghc-bignum,ghc-bignum-orphans $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-01-10 Thread Felix Yan via arch-commits
Date: Monday, January 10, 2022 @ 20:31:01
  Author: felixonmars
Revision: 1099925

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1099924, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1099924, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-10 20:31:01 UTC (rev 1099925)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.4.1
+pkgrel=14
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc-bignum-orphans')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655bdcf3236ae1a3b8a2bbb685f9d9a1fac840c22d5b9326c19b3cea5147aea36be28c62e1e2109d6fb3909151552f0152a331165ea7a701ac7d22f31a50bd84')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -r ghc-bignum:ghc-bignum,ghc-bignum-orphans $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-01-06 Thread Felix Yan via arch-commits
Date: Thursday, January 6, 2022 @ 23:21:28
  Author: felixonmars
Revision: 1095715

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1095714, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1095714, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-06 23:21:28 UTC (rev 1095715)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.4.1
+pkgrel=12
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655bdcf3236ae1a3b8a2bbb685f9d9a1fac840c22d5b9326c19b3cea5147aea36be28c62e1e2109d6fb3909151552f0152a331165ea7a701ac7d22f31a50bd84')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2022-01-04 Thread Felix Yan via arch-commits
Date: Tuesday, January 4, 2022 @ 21:34:50
  Author: felixonmars
Revision: 1093080

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1093079, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1093079, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-04 21:34:50 UTC (rev 1093080)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.4.1
+pkgrel=10
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655bdcf3236ae1a3b8a2bbb685f9d9a1fac840c22d5b9326c19b3cea5147aea36be28c62e1e2109d6fb3909151552f0152a331165ea7a701ac7d22f31a50bd84')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-12-30 Thread Felix Yan via arch-commits
Date: Thursday, December 30, 2021 @ 19:47:48
  Author: felixonmars
Revision: 1088863

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1088862, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1088862, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-30 19:47:48 UTC (rev 1088863)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.4.1
+pkgrel=8
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655bdcf3236ae1a3b8a2bbb685f9d9a1fac840c22d5b9326c19b3cea5147aea36be28c62e1e2109d6fb3909151552f0152a331165ea7a701ac7d22f31a50bd84')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-12-26 Thread Felix Yan via arch-commits
Date: Sunday, December 26, 2021 @ 23:43:05
  Author: felixonmars
Revision: 1083999

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1083998, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1083998, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-26 23:43:05 UTC (rev 1083999)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.4.1
+pkgrel=7
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655bdcf3236ae1a3b8a2bbb685f9d9a1fac840c22d5b9326c19b3cea5147aea36be28c62e1e2109d6fb3909151552f0152a331165ea7a701ac7d22f31a50bd84')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-12-20 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 11:45:55
  Author: felixonmars
Revision: 1080106

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1080105, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1080105, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 11:45:55 UTC (rev 1080106)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.4.1
+pkgrel=6
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655bdcf3236ae1a3b8a2bbb685f9d9a1fac840c22d5b9326c19b3cea5147aea36be28c62e1e2109d6fb3909151552f0152a331165ea7a701ac7d22f31a50bd84')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-12-17 Thread Felix Yan via arch-commits
Date: Friday, December 17, 2021 @ 20:31:42
  Author: felixonmars
Revision: 1076513

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1076512, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1076512, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-17 20:31:42 UTC (rev 1076513)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.4.1
+pkgrel=4
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655bdcf3236ae1a3b8a2bbb685f9d9a1fac840c22d5b9326c19b3cea5147aea36be28c62e1e2109d6fb3909151552f0152a331165ea7a701ac7d22f31a50bd84')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-12-13 Thread Felix Yan via arch-commits
Date: Tuesday, December 14, 2021 @ 00:41:23
  Author: felixonmars
Revision: 1072587

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1072586, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1072586, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-14 00:41:23 UTC (rev 1072587)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.4.1
+pkgrel=1
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655bdcf3236ae1a3b8a2bbb685f9d9a1fac840c22d5b9326c19b3cea5147aea36be28c62e1e2109d6fb3909151552f0152a331165ea7a701ac7d22f31a50bd84')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-11-28 Thread Felix Yan via arch-commits
Date: Sunday, November 28, 2021 @ 17:26:37
  Author: felixonmars
Revision: 1055231

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1055230, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1055230, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-28 17:26:37 UTC (rev 1055231)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.4.0
+pkgrel=4
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ebfe4d01685e6f0204b91b6e7b5e404b9d5af1c6849b19bad7a768a18cd58e529123b2340296aace9217682fcb7cf30125da57ae3b0107aa7a42364857b51746')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-11-17 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 19:44:07
  Author: felixonmars
Revision: 1051114

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1051113, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1051113, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 19:44:07 UTC (rev 1051114)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.4.0
+pkgrel=1
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ebfe4d01685e6f0204b91b6e7b5e404b9d5af1c6849b19bad7a768a18cd58e529123b2340296aace9217682fcb7cf30125da57ae3b0107aa7a42364857b51746')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-11-16 Thread Felix Yan via arch-commits
Date: Tuesday, November 16, 2021 @ 08:44:21
  Author: felixonmars
Revision: 1048645

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1048644, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1048644, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-16 08:44:21 UTC (rev 1048645)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.3.0
+pkgrel=18
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c1bbd1439083f79b84192597c8db72f5ad2847f2956328d50ab8672aa3e35798fd5ef18d825eb6ebd5525ba256c5fae2a61390ab4969c0dd73bc9cbc1179776')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-11-12 Thread Felix Yan via arch-commits
Date: Friday, November 12, 2021 @ 19:14:54
  Author: felixonmars
Revision: 1044695

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1044694, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1044694, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-12 19:14:54 UTC (rev 1044695)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.3.0
+pkgrel=16
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c1bbd1439083f79b84192597c8db72f5ad2847f2956328d50ab8672aa3e35798fd5ef18d825eb6ebd5525ba256c5fae2a61390ab4969c0dd73bc9cbc1179776')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-11-11 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 15:19:11
  Author: felixonmars
Revision: 1042204

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1042203, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1042203, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-11 15:19:11 UTC (rev 1042204)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.3.0
+pkgrel=14
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c1bbd1439083f79b84192597c8db72f5ad2847f2956328d50ab8672aa3e35798fd5ef18d825eb6ebd5525ba256c5fae2a61390ab4969c0dd73bc9cbc1179776')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-11-09 Thread Felix Yan via arch-commits
Date: Tuesday, November 9, 2021 @ 10:59:53
  Author: felixonmars
Revision: 1039263

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1039262, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1039262, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-09 10:59:53 UTC (rev 1039263)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.3.0
+pkgrel=12
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c1bbd1439083f79b84192597c8db72f5ad2847f2956328d50ab8672aa3e35798fd5ef18d825eb6ebd5525ba256c5fae2a61390ab4969c0dd73bc9cbc1179776')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-10-25 Thread Felix Yan via arch-commits
Date: Monday, October 25, 2021 @ 17:34:08
  Author: felixonmars
Revision: 1033612

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1033611, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1033611, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-25 17:34:08 UTC (rev 1033612)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.3.0
+pkgrel=10
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c1bbd1439083f79b84192597c8db72f5ad2847f2956328d50ab8672aa3e35798fd5ef18d825eb6ebd5525ba256c5fae2a61390ab4969c0dd73bc9cbc1179776')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-09-23 Thread Felix Yan via arch-commits
Date: Thursday, September 23, 2021 @ 20:57:28
  Author: felixonmars
Revision: 1022786

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1022785, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1022785, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-23 20:57:28 UTC (rev 1022786)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.3.0
+pkgrel=8
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c1bbd1439083f79b84192597c8db72f5ad2847f2956328d50ab8672aa3e35798fd5ef18d825eb6ebd5525ba256c5fae2a61390ab4969c0dd73bc9cbc1179776')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-09-21 Thread Felix Yan via arch-commits
Date: Tuesday, September 21, 2021 @ 07:13:57
  Author: felixonmars
Revision: 1020005

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1020004, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1020004, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-21 07:13:57 UTC (rev 1020005)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.3.0
+pkgrel=6
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c1bbd1439083f79b84192597c8db72f5ad2847f2956328d50ab8672aa3e35798fd5ef18d825eb6ebd5525ba256c5fae2a61390ab4969c0dd73bc9cbc1179776')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-09-19 Thread Felix Yan via arch-commits
Date: Sunday, September 19, 2021 @ 08:58:58
  Author: felixonmars
Revision: 1017156

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1017155, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1017155, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-19 08:58:58 UTC (rev 1017156)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.3.0
+pkgrel=4
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c1bbd1439083f79b84192597c8db72f5ad2847f2956328d50ab8672aa3e35798fd5ef18d825eb6ebd5525ba256c5fae2a61390ab4969c0dd73bc9cbc1179776')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-08-28 Thread Felix Yan via arch-commits
Date: Saturday, August 28, 2021 @ 07:56:27
  Author: felixonmars
Revision: 1007552

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1007551, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1007551, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-28 07:56:27 UTC (rev 1007552)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.3.0
+pkgrel=1
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c1bbd1439083f79b84192597c8db72f5ad2847f2956328d50ab8672aa3e35798fd5ef18d825eb6ebd5525ba256c5fae2a61390ab4969c0dd73bc9cbc1179776')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-08-25 Thread Felix Yan via arch-commits
Date: Wednesday, August 25, 2021 @ 15:10:38
  Author: felixonmars
Revision: 1004772

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1004770, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1004770, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-25 15:10:38 UTC (rev 1004772)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=30
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 17, 2021 @ 09:00:23
  Author: felixonmars
Revision: 1001173

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 1001172, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
1001172, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-17 09:00:23 UTC (rev 1001173)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=28
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-08-14 Thread Felix Yan via arch-commits
Date: Saturday, August 14, 2021 @ 22:58:00
  Author: felixonmars
Revision: 998592

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 998591, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
998591, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-14 22:58:00 UTC (rev 998592)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=26
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-08-07 Thread Felix Yan via arch-commits
Date: Sunday, August 8, 2021 @ 05:59:06
  Author: felixonmars
Revision: 994717

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 994716, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
994716, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-08 05:59:06 UTC (rev 994717)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=24
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-07-26 Thread Felix Yan via arch-commits
Date: Monday, July 26, 2021 @ 08:30:01
  Author: felixonmars
Revision: 985090

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 985089, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
985089, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-26 08:30:01 UTC (rev 985090)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=22
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:33:51
  Author: felixonmars
Revision: 981426

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 981425, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
981425, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:33:51 UTC (rev 981426)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=20
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-07-19 Thread Felix Yan via arch-commits
Date: Monday, July 19, 2021 @ 15:33:39
  Author: felixonmars
Revision: 978699

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 978698, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
978698, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-19 15:33:39 UTC (rev 978699)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=18
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 6, 2021 @ 05:51:30
  Author: felixonmars
Revision: 972682

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 972681, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
972681, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-06 05:51:30 UTC (rev 972682)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=16
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-07-01 Thread Felix Yan via arch-commits
Date: Thursday, July 1, 2021 @ 12:29:35
  Author: felixonmars
Revision: 969261

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 969260, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
969260, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-01 12:29:35 UTC (rev 969261)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=14
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-06-17 Thread Felix Yan via arch-commits
Date: Thursday, June 17, 2021 @ 23:17:36
  Author: felixonmars
Revision: 964976

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 964975, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
964975, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-17 23:17:36 UTC (rev 964976)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=12
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-06-09 Thread Felix Yan via arch-commits
Date: Wednesday, June 9, 2021 @ 16:45:08
  Author: felixonmars
Revision: 960219

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 960218, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
960218, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-09 16:45:08 UTC (rev 960219)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=10
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 7, 2021 @ 02:14:13
  Author: felixonmars
Revision: 956865

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 956864, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
956864, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-07 02:14:13 UTC (rev 956865)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=8
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-06-02 Thread Felix Yan via arch-commits
Date: Wednesday, June 2, 2021 @ 20:43:58
  Author: felixonmars
Revision: 953382

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 953381, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
953381, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-02 20:43:58 UTC (rev 953382)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=7
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Sunday, May 30, 2021 @ 17:27:29
  Author: felixonmars
Revision: 950512

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 950511, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
950511, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-30 17:27:29 UTC (rev 950512)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=6
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Wednesday, May 26, 2021 @ 14:51:06
  Author: felixonmars
Revision: 946676

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 946675, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
946675, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-26 14:51:06 UTC (rev 946676)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=4
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-05-20 Thread Felix Yan via arch-commits
Date: Thursday, May 20, 2021 @ 22:33:22
  Author: felixonmars
Revision: 939573

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 939572, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
939572, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-20 22:33:22 UTC (rev 939573)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=1
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-05-19 Thread Felix Yan via arch-commits
Date: Wednesday, May 19, 2021 @ 16:14:05
  Author: felixonmars
Revision: 936550

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 936549, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
936549, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-19 16:14:05 UTC (rev 936550)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=35
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-05-12 Thread Felix Yan via arch-commits
Date: Wednesday, May 12, 2021 @ 22:23:17
  Author: felixonmars
Revision: 932749

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 932748, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
932748, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-12 22:23:17 UTC (rev 932749)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=33
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-05-11 Thread Felix Yan via arch-commits
Date: Tuesday, May 11, 2021 @ 14:33:34
  Author: felixonmars
Revision: 930123

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 930122, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
930122, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-11 14:33:34 UTC (rev 930123)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=31
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 21, 2021 @ 23:46:31
  Author: felixonmars
Revision: 920764

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 920763, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
920763, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-21 23:46:31 UTC (rev 920764)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=29
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-hashable/repos (2 files)

2021-04-12 Thread Felix Yan via arch-commits
Date: Monday, April 12, 2021 @ 18:47:17
  Author: felixonmars
Revision: 915957

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 915956, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
915956, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-12 18:47:17 UTC (rev 915957)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=27
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 7, 2021 @ 00:10:55
  Author: felixonmars
Revision: 912233

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 912232, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
912232, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-07 00:10:55 UTC (rev 912233)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=25
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-03-28 Thread Felix Yan via arch-commits
Date: Sunday, March 28, 2021 @ 21:17:07
  Author: felixonmars
Revision: 907929

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 907928, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
907928, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-28 21:17:07 UTC (rev 907929)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=24
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-03-27 Thread Felix Yan via arch-commits
Date: Saturday, March 27, 2021 @ 19:28:41
  Author: felixonmars
Revision: 905474

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 905473, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
905473, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-27 19:28:41 UTC (rev 905474)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=22
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-03-24 Thread Felix Yan via arch-commits
Date: Wednesday, March 24, 2021 @ 20:12:52
  Author: felixonmars
Revision: 901773

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 901772, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
901772, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-24 20:12:52 UTC (rev 901773)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=20
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-03-22 Thread Felix Yan via arch-commits
Date: Monday, March 22, 2021 @ 13:56:55
  Author: felixonmars
Revision: 898928

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 898927, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
898927, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-22 13:56:55 UTC (rev 898928)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=18
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-03-20 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 19:29:58
  Author: felixonmars
Revision: 896052

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 896051, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
896051, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 19:29:58 UTC (rev 896052)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=16
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-03-15 Thread Felix Yan via arch-commits
Date: Monday, March 15, 2021 @ 20:09:58
  Author: felixonmars
Revision: 891604

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 891603, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
891603, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-15 20:09:58 UTC (rev 891604)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=14
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-03-10 Thread Felix Yan via arch-commits
Date: Wednesday, March 10, 2021 @ 22:57:23
  Author: felixonmars
Revision: 887316

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 887315, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
887315, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-10 22:57:23 UTC (rev 887316)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=12
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-03-06 Thread Felix Yan via arch-commits
Date: Saturday, March 6, 2021 @ 20:15:25
  Author: felixonmars
Revision: 884567

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 884566, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
884566, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-06 20:15:25 UTC (rev 884567)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=11
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-03-05 Thread Felix Yan via arch-commits
Date: Friday, March 5, 2021 @ 13:23:14
  Author: felixonmars
Revision: 881840

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 881839, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
881839, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-05 13:23:14 UTC (rev 881840)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=9
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-03-03 Thread Felix Yan via arch-commits
Date: Wednesday, March 3, 2021 @ 14:16:44
  Author: felixonmars
Revision: 879211

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 879210, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
879210, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-03 14:16:44 UTC (rev 879211)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=8
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-28 Thread Felix Yan via arch-commits
Date: Sunday, February 28, 2021 @ 22:10:28
  Author: felixonmars
Revision: 876123

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 876122, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
876122, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-28 22:10:28 UTC (rev 876123)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=6
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-24 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 19:49:43
  Author: felixonmars
Revision: 871908

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 871907, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
871907, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 19:49:43 UTC (rev 871908)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=4
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-21 Thread Felix Yan via arch-commits
Date: Sunday, February 21, 2021 @ 23:16:41
  Author: felixonmars
Revision: 868248

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 868247, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
868247, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-21 23:16:41 UTC (rev 868248)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.1.0
+pkgrel=1
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751')
+
+prepare() {
+uusi -u random $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-17 Thread Felix Yan via arch-commits
Date: Wednesday, February 17, 2021 @ 12:27:32
  Author: felixonmars
Revision: 862440

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 862439, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
862439, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-17 12:27:32 UTC (rev 862440)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.0.0
+pkgrel=96
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ba9b0657ddc6faf8b8be88e79d3c49503dfee3a446fc16bdc851f357afef1b92b443d1582d462cea859e37a16b46ec762b1dcf613458c5a15f800a8fccdb0ac')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-13 Thread Felix Yan via arch-commits
Date: Sunday, February 14, 2021 @ 00:18:36
  Author: felixonmars
Revision: 859917

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 859916, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
859916, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-14 00:18:36 UTC (rev 859917)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.0.0
+pkgrel=94
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ba9b0657ddc6faf8b8be88e79d3c49503dfee3a446fc16bdc851f357afef1b92b443d1582d462cea859e37a16b46ec762b1dcf613458c5a15f800a8fccdb0ac')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-12 Thread Felix Yan via arch-commits
Date: Friday, February 12, 2021 @ 14:15:07
  Author: felixonmars
Revision: 856886

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 856885, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
856885, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-12 14:15:07 UTC (rev 856886)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.0.0
+pkgrel=92
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ba9b0657ddc6faf8b8be88e79d3c49503dfee3a446fc16bdc851f357afef1b92b443d1582d462cea859e37a16b46ec762b1dcf613458c5a15f800a8fccdb0ac')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-10 Thread Felix Yan via arch-commits
Date: Wednesday, February 10, 2021 @ 22:51:09
  Author: felixonmars
Revision: 854490

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 854489, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
854489, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-10 22:51:09 UTC (rev 854490)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.0.0
+pkgrel=90
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ba9b0657ddc6faf8b8be88e79d3c49503dfee3a446fc16bdc851f357afef1b92b443d1582d462cea859e37a16b46ec762b1dcf613458c5a15f800a8fccdb0ac')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-09 Thread Felix Yan via arch-commits
Date: Tuesday, February 9, 2021 @ 09:36:09
  Author: felixonmars
Revision: 850849

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 850848, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
850848, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-09 09:36:09 UTC (rev 850849)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.0.0
+pkgrel=88
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ba9b0657ddc6faf8b8be88e79d3c49503dfee3a446fc16bdc851f357afef1b92b443d1582d462cea859e37a16b46ec762b1dcf613458c5a15f800a8fccdb0ac')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-07 Thread Felix Yan via arch-commits
Date: Sunday, February 7, 2021 @ 15:27:35
  Author: felixonmars
Revision: 848076

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 848075, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
848075, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-07 15:27:35 UTC (rev 848076)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.0.0
+pkgrel=87
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ba9b0657ddc6faf8b8be88e79d3c49503dfee3a446fc16bdc851f357afef1b92b443d1582d462cea859e37a16b46ec762b1dcf613458c5a15f800a8fccdb0ac')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-03 Thread Felix Yan via arch-commits
Date: Wednesday, February 3, 2021 @ 13:30:02
  Author: felixonmars
Revision: 843221

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 843220, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
843220, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-03 13:30:02 UTC (rev 843221)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.0.0
+pkgrel=85
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ba9b0657ddc6faf8b8be88e79d3c49503dfee3a446fc16bdc851f357afef1b92b443d1582d462cea859e37a16b46ec762b1dcf613458c5a15f800a8fccdb0ac')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-02-01 Thread Felix Yan via arch-commits
Date: Monday, February 1, 2021 @ 22:29:09
  Author: felixonmars
Revision: 840758

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 840757, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
840757, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-01 22:29:09 UTC (rev 840758)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.0.0
+pkgrel=83
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ba9b0657ddc6faf8b8be88e79d3c49503dfee3a446fc16bdc851f357afef1b92b443d1582d462cea859e37a16b46ec762b1dcf613458c5a15f800a8fccdb0ac')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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-hashable/repos (2 files)

2021-01-31 Thread Felix Yan via arch-commits
Date: Sunday, January 31, 2021 @ 11:33:25
  Author: felixonmars
Revision: 838008

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 838007, haskell-hashable/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
838007, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-31 11:33:25 UTC (rev 838008)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.0.0
+pkgrel=81
+pkgdesc="Mutable hash tables in the ST monad"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'sh')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ba9b0657ddc6faf8b8be88e79d3c49503dfee3a446fc16bdc851f357afef1b92b443d1582d462cea859e37a16b46ec762b1dcf613458c5a15f800a8fccdb0ac')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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
+}


  1   2   >