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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 10:29:57
  Author: felixonmars
Revision: 794597

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 794596, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 10:29:57 UTC (rev 794597)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=133
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 03:14:24
  Author: felixonmars
Revision: 791736

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 791735, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 03:14:24 UTC (rev 791736)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=132
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 10:51:00
  Author: felixonmars
Revision: 790066

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 790065, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 10:51:00 UTC (rev 790066)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=131
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 07:05:18
  Author: felixonmars
Revision: 786661

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 786660, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 07:05:18 UTC (rev 786661)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=130
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 05:45:42
  Author: felixonmars
Revision: 783733

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 783732, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 05:45:42 UTC (rev 783733)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=129
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 21:18:38
  Author: felixonmars
Revision: 780719

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 780718, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-20 21:18:38 UTC (rev 780719)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=128
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 20:48:27
  Author: felixonmars
Revision: 778050

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 778049, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 20:48:27 UTC (rev 778050)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=127
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 16:23:52
  Author: felixonmars
Revision: 774538

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 774537, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 16:23:52 UTC (rev 774538)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=126
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 23:45:33
  Author: felixonmars
Revision: 764827

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 764826, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 23:45:33 UTC (rev 764827)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=125
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 21:30:50
  Author: felixonmars
Revision: 759589

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 759588, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 21:30:50 UTC (rev 759589)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=124
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-11-16 Thread Felix Yan via arch-commits
Date: Tuesday, November 17, 2020 @ 04:33:30
  Author: felixonmars
Revision: 755936

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 755935, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-17 04:33:30 UTC (rev 755936)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=123
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-11-10 Thread Felix Yan via arch-commits
Date: Tuesday, November 10, 2020 @ 12:37:05
  Author: felixonmars
Revision: 749496

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 749495, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-10 12:37:05 UTC (rev 749496)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=122
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 13:20:02
  Author: felixonmars
Revision: 744235

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 744234, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 13:20:02 UTC (rev 744235)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=121
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-11-03 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 08:03:29
  Author: felixonmars
Revision: 740412

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 740411, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-03 08:03:29 UTC (rev 740412)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=120
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-10-31 Thread Felix Yan via arch-commits
Date: Saturday, October 31, 2020 @ 14:05:50
  Author: felixonmars
Revision: 737701

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 737700, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-31 14:05:50 UTC (rev 737701)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=119
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 21:06:07
  Author: felixonmars
Revision: 735138

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 735137, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 21:06:07 UTC (rev 735138)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=118
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 10:31:24
  Author: felixonmars
Revision: 732352

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 732350, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 10:31:24 UTC (rev 732352)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=117
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-10-21 Thread Felix Yan via arch-commits
Date: Wednesday, October 21, 2020 @ 17:48:42
  Author: felixonmars
Revision: 728101

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 728100, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-21 17:48:42 UTC (rev 728101)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=116
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-10-16 Thread Felix Yan via arch-commits
Date: Friday, October 16, 2020 @ 17:12:56
  Author: felixonmars
Revision: 724811

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 724810, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-16 17:12:56 UTC (rev 724811)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=115
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-10-06 Thread Felix Yan via arch-commits
Date: Tuesday, October 6, 2020 @ 23:11:39
  Author: felixonmars
Revision: 719881

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 719880, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-06 23:11:39 UTC (rev 719881)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=114
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-10-03 Thread Felix Yan via arch-commits
Date: Saturday, October 3, 2020 @ 23:01:51
  Author: felixonmars
Revision: 716897

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 716896, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-03 23:01:51 UTC (rev 716897)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=113
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-10-01 Thread Felix Yan via arch-commits
Date: Thursday, October 1, 2020 @ 23:20:32
  Author: felixonmars
Revision: 714627

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 714626, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-01 23:20:32 UTC (rev 714627)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=112
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-09-17 Thread Felix Yan via arch-commits
Date: Thursday, September 17, 2020 @ 18:47:43
  Author: felixonmars
Revision: 709034

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 709033, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-17 18:47:43 UTC (rev 709034)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=111
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-09-14 Thread Felix Yan via arch-commits
Date: Monday, September 14, 2020 @ 19:13:24
  Author: felixonmars
Revision: 706343

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 706342, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-14 19:13:24 UTC (rev 706343)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=110
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 15:42:00
  Author: felixonmars
Revision: 704159

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 704158, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 15:42:00 UTC (rev 704159)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=109
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-09-10 Thread Felix Yan via arch-commits
Date: Thursday, September 10, 2020 @ 17:05:21
  Author: felixonmars
Revision: 701971

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 701970, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-10 17:05:21 UTC (rev 701971)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=108
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 10:43:44
  Author: felixonmars
Revision: 699621

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 699620, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 10:43:44 UTC (rev 699621)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=107
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-09-02 Thread Felix Yan via arch-commits
Date: Wednesday, September 2, 2020 @ 17:55:56
  Author: felixonmars
Revision: 696708

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 696707, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-02 17:55:56 UTC (rev 696708)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=106
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-08-30 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 03:42:31
  Author: felixonmars
Revision: 693455

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 693454, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 03:42:31 UTC (rev 693455)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=105
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 09:55:19
  Author: felixonmars
Revision: 690413

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 690412, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 09:55:19 UTC (rev 690413)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=104
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 13:46:29
  Author: felixonmars
Revision: 688236

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 688235, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 13:46:29 UTC (rev 688236)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=103
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 19:34:39
  Author: felixonmars
Revision: 683107

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 683106, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 19:34:39 UTC (rev 683107)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=102
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-08-15 Thread Felix Yan via arch-commits
Date: Saturday, August 15, 2020 @ 21:47:20
  Author: felixonmars
Revision: 680115

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 680114, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-15 21:47:20 UTC (rev 680115)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=101
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 16:38:44
  Author: felixonmars
Revision: 677643

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 677642, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 16:38:44 UTC (rev 677643)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=100
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-08-11 Thread Felix Yan via arch-commits
Date: Tuesday, August 11, 2020 @ 20:21:46
  Author: felixonmars
Revision: 674907

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 674906, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-11 20:21:46 UTC (rev 674907)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=99
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-07-31 Thread Felix Yan via arch-commits
Date: Friday, July 31, 2020 @ 22:57:35
  Author: felixonmars
Revision: 87

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 86, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-31 22:57:35 UTC (rev 87)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=98
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-06-28 Thread Felix Yan via arch-commits
Date: Sunday, June 28, 2020 @ 22:36:38
  Author: felixonmars
Revision: 655542

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 655541, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-28 22:36:38 UTC (rev 655542)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=97
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-06-23 Thread Felix Yan via arch-commits
Date: Tuesday, June 23, 2020 @ 22:09:08
  Author: felixonmars
Revision: 651737

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 651736, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-23 22:09:08 UTC (rev 651737)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=96
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-06-21 Thread Felix Yan via arch-commits
Date: Sunday, June 21, 2020 @ 09:34:45
  Author: felixonmars
Revision: 648797

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 648796, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-21 09:34:45 UTC (rev 648797)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=95
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-06-13 Thread Felix Yan via arch-commits
Date: Saturday, June 13, 2020 @ 22:50:59
  Author: felixonmars
Revision: 643331

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 643330, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-13 22:50:59 UTC (rev 643331)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=94
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-06-09 Thread Felix Yan via arch-commits
Date: Tuesday, June 9, 2020 @ 21:22:57
  Author: felixonmars
Revision: 640993

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 640992, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-09 21:22:57 UTC (rev 640993)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=93
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-05-23 Thread Felix Yan via arch-commits
Date: Saturday, May 23, 2020 @ 15:53:36
  Author: felixonmars
Revision: 632119

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 632118, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-23 15:53:36 UTC (rev 632119)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=92
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-05-12 Thread Felix Yan via arch-commits
Date: Tuesday, May 12, 2020 @ 10:38:55
  Author: felixonmars
Revision: 626749

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 626748, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-12 10:38:55 UTC (rev 626749)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=91
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-04-23 Thread Felix Yan via arch-commits
Date: Friday, April 24, 2020 @ 05:52:02
  Author: felixonmars
Revision: 618789

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 618788, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-24 05:52:02 UTC (rev 618789)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=90
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-04-18 Thread Felix Yan via arch-commits
Date: Saturday, April 18, 2020 @ 18:47:07
  Author: felixonmars
Revision: 616098

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 616097, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-18 18:47:07 UTC (rev 616098)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=89
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-04-01 Thread Felix Yan via arch-commits
Date: Wednesday, April 1, 2020 @ 10:25:29
  Author: felixonmars
Revision: 608653

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 608652, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-01 10:25:29 UTC (rev 608653)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=88
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-03-30 Thread Felix Yan via arch-commits
Date: Monday, March 30, 2020 @ 20:32:43
  Author: felixonmars
Revision: 607191

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 607190, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-30 20:32:43 UTC (rev 607191)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=87
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-03-15 Thread Felix Yan via arch-commits
Date: Sunday, March 15, 2020 @ 14:53:57
  Author: felixonmars
Revision: 598181

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 598180, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-15 14:53:57 UTC (rev 598181)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=86
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-03-01 Thread Felix Yan via arch-commits
Date: Sunday, March 1, 2020 @ 18:19:59
  Author: felixonmars
Revision: 587902

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 587901, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-01 18:19:59 UTC (rev 587902)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=85
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-02-27 Thread Felix Yan via arch-commits
Date: Thursday, February 27, 2020 @ 14:55:55
  Author: felixonmars
Revision: 584199

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 584198, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-27 14:55:55 UTC (rev 584199)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=84
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 16:36:20
  Author: felixonmars
Revision: 581568

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 581567, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-25 16:36:20 UTC (rev 581568)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=83
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-02-16 Thread Felix Yan via arch-commits
Date: Sunday, February 16, 2020 @ 12:04:31
  Author: felixonmars
Revision: 572393

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 572392, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-16 12:04:31 UTC (rev 572393)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=82
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-02-12 Thread Felix Yan via arch-commits
Date: Wednesday, February 12, 2020 @ 19:41:23
  Author: felixonmars
Revision: 569680

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 569679, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-12 19:41:23 UTC (rev 569680)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=81
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-02-10 Thread Felix Yan via arch-commits
Date: Monday, February 10, 2020 @ 23:48:06
  Author: felixonmars
Revision: 566465

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 566464, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-10 23:48:06 UTC (rev 566465)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=80
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-02-04 Thread Felix Yan via arch-commits
Date: Tuesday, February 4, 2020 @ 19:29:30
  Author: felixonmars
Revision: 562371

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 562370, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-04 19:29:30 UTC (rev 562371)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=78
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-01-29 Thread Felix Yan via arch-commits
Date: Wednesday, January 29, 2020 @ 15:02:55
  Author: felixonmars
Revision: 558986

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 558985, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-29 15:02:55 UTC (rev 558986)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=77
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-01-27 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 04:07:56
  Author: felixonmars
Revision: 557193

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 557192, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 04:07:56 UTC (rev 557193)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=76
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-01-27 Thread Felix Yan via arch-commits
Date: Monday, January 27, 2020 @ 10:16:36
  Author: felixonmars
Revision: 555842

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 555841, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-27 10:16:36 UTC (rev 555842)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=75
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-01-10 Thread Felix Yan via arch-commits
Date: Friday, January 10, 2020 @ 16:48:02
  Author: felixonmars
Revision: 551733

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 551732, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-10 16:48:02 UTC (rev 551733)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=74
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-01-06 Thread Felix Yan via arch-commits
Date: Monday, January 6, 2020 @ 09:12:31
  Author: felixonmars
Revision: 549660

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 549659, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-06 09:12:31 UTC (rev 549660)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=73
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-01-04 Thread Felix Yan via arch-commits
Date: Saturday, January 4, 2020 @ 20:29:40
  Author: felixonmars
Revision: 548392

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 548391, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-04 20:29:40 UTC (rev 548392)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=72
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2020-01-02 Thread Felix Yan via arch-commits
Date: Thursday, January 2, 2020 @ 19:09:48
  Author: felixonmars
Revision: 546526

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 546525, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-02 19:09:48 UTC (rev 546526)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=71
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-12-30 Thread Felix Yan via arch-commits
Date: Monday, December 30, 2019 @ 12:55:57
  Author: felixonmars
Revision: 544563

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 544562, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-30 12:55:57 UTC (rev 544563)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=70
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-12-25 Thread Felix Yan via arch-commits
Date: Wednesday, December 25, 2019 @ 14:06:37
  Author: felixonmars
Revision: 541066

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 541065, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-25 14:06:37 UTC (rev 541066)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=69
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-12-23 Thread Felix Yan via arch-commits
Date: Monday, December 23, 2019 @ 20:37:10
  Author: felixonmars
Revision: 539514

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 539513, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-23 20:37:10 UTC (rev 539514)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=68
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-09-12 Thread Felix Yan via arch-commits
Date: Thursday, September 12, 2019 @ 09:04:56
  Author: felixonmars
Revision: 509374

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 509373, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-12 09:04:56 UTC (rev 509374)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=67
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-09-07 Thread Felix Yan via arch-commits
Date: Saturday, September 7, 2019 @ 13:10:56
  Author: felixonmars
Revision: 508396

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 508395, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-07 13:10:56 UTC (rev 508396)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=66
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-09-02 Thread Felix Yan via arch-commits
Date: Monday, September 2, 2019 @ 08:58:18
  Author: felixonmars
Revision: 506892

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 506891, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-02 08:58:18 UTC (rev 506892)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=65
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-08-26 Thread Felix Yan via arch-commits
Date: Tuesday, August 27, 2019 @ 05:30:38
  Author: felixonmars
Revision: 502395

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 502394, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-27 05:30:38 UTC (rev 502395)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=64
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-08-22 Thread Felix Yan via arch-commits
Date: Thursday, August 22, 2019 @ 17:08:13
  Author: felixonmars
Revision: 500591

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 500590, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-22 17:08:13 UTC (rev 500591)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=63
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-07-31 Thread Felix Yan via arch-commits
Date: Thursday, August 1, 2019 @ 05:19:12
  Author: felixonmars
Revision: 496062

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 496061, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-01 05:19:12 UTC (rev 496062)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=62
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-07-27 Thread Felix Yan via arch-commits
Date: Sunday, July 28, 2019 @ 03:25:56
  Author: felixonmars
Revision: 493481

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 493480, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-28 03:25:56 UTC (rev 493481)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=61
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-07-17 Thread Felix Yan via arch-commits
Date: Wednesday, July 17, 2019 @ 20:19:19
  Author: felixonmars
Revision: 490624

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 490623, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-17 20:19:19 UTC (rev 490624)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=60
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-07-14 Thread Felix Yan via arch-commits
Date: Monday, July 15, 2019 @ 02:00:19
  Author: felixonmars
Revision: 489612

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 489611, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-15 02:00:19 UTC (rev 489612)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=59
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-06-30 Thread Felix Yan via arch-commits
Date: Sunday, June 30, 2019 @ 20:01:26
  Author: felixonmars
Revision: 486669

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 486668, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-30 20:01:26 UTC (rev 486669)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=58
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-06-27 Thread Felix Yan via arch-commits
Date: Thursday, June 27, 2019 @ 07:44:19
  Author: felixonmars
Revision: 484720

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 484719, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-27 07:44:19 UTC (rev 484720)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=57
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-06-09 Thread Felix Yan via arch-commits
Date: Sunday, June 9, 2019 @ 11:52:42
  Author: felixonmars
Revision: 478790

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 478789, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-09 11:52:42 UTC (rev 478790)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=56
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-05-31 Thread Felix Yan via arch-commits
Date: Friday, May 31, 2019 @ 16:14:16
  Author: felixonmars
Revision: 475972

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 475971, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-31 16:14:16 UTC (rev 475972)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=55
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 30, 2019 @ 17:47:57
  Author: felixonmars
Revision: 474943

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 474942, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-30 17:47:57 UTC (rev 474943)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=54
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-05-28 Thread Felix Yan via arch-commits
Date: Wednesday, May 29, 2019 @ 01:31:22
  Author: felixonmars
Revision: 473494

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 473493, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-29 01:31:22 UTC (rev 473494)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=53
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-05-27 Thread Felix Yan via arch-commits
Date: Monday, May 27, 2019 @ 19:01:27
  Author: felixonmars
Revision: 471819

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 471818, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-27 19:01:27 UTC (rev 471819)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=52
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-05-22 Thread Felix Yan via arch-commits
Date: Thursday, May 23, 2019 @ 05:30:39
  Author: felixonmars
Revision: 469152

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 469151, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-23 05:30:39 UTC (rev 469152)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=51
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-05-12 Thread Felix Yan via arch-commits
Date: Sunday, May 12, 2019 @ 11:36:01
  Author: felixonmars
Revision: 466241

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 466240, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-12 11:36:01 UTC (rev 466241)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=50
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-05-08 Thread Felix Yan via arch-commits
Date: Wednesday, May 8, 2019 @ 23:55:24
  Author: felixonmars
Revision: 463593

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 463592, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-08 23:55:24 UTC (rev 463593)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=49
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-05-06 Thread Felix Yan via arch-commits
Date: Monday, May 6, 2019 @ 15:12:36
  Author: felixonmars
Revision: 461037

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 461036, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-06 15:12:36 UTC (rev 461037)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=48
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-04-28 Thread Felix Yan via arch-commits
Date: Sunday, April 28, 2019 @ 06:29:52
  Author: felixonmars
Revision: 454869

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 454868, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-28 06:29:52 UTC (rev 454869)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=47
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-04-03 Thread Felix Yan via arch-commits
Date: Thursday, April 4, 2019 @ 03:37:44
  Author: felixonmars
Revision: 448791

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 448790, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-04 03:37:44 UTC (rev 448791)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=46
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-04-01 Thread Felix Yan via arch-commits
Date: Tuesday, April 2, 2019 @ 01:23:12
  Author: felixonmars
Revision: 447367

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 447366, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-02 01:23:12 UTC (rev 447367)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=45
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-03-27 Thread Felix Yan via arch-commits
Date: Wednesday, March 27, 2019 @ 08:10:41
  Author: felixonmars
Revision: 443969

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 443968, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-27 08:10:41 UTC (rev 443969)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=44
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-03-10 Thread Felix Yan via arch-commits
Date: Sunday, March 10, 2019 @ 15:31:40
  Author: felixonmars
Revision: 439349

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 439348, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-10 15:31:40 UTC (rev 439349)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=43
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-02-15 Thread Felix Yan via arch-commits
Date: Friday, February 15, 2019 @ 12:08:08
  Author: felixonmars
Revision: 432623

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 432622, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-15 12:08:08 UTC (rev 432623)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=42
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-02-07 Thread Felix Yan via arch-commits
Date: Thursday, February 7, 2019 @ 13:13:42
  Author: felixonmars
Revision: 429947

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 429946, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-07 13:13:42 UTC (rev 429947)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=41
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-01-21 Thread Felix Yan via arch-commits
Date: Monday, January 21, 2019 @ 09:19:19
  Author: felixonmars
Revision: 425851

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 425850, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-21 09:19:19 UTC (rev 425851)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=40
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2019-01-10 Thread Felix Yan via arch-commits
Date: Thursday, January 10, 2019 @ 11:24:25
  Author: felixonmars
Revision: 421581

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 421580, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-10 11:24:25 UTC (rev 421581)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=39
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2018-12-10 Thread Felix Yan via arch-commits
Date: Monday, December 10, 2018 @ 12:07:33
  Author: felixonmars
Revision: 414093

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 414092, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-10 12:07:33 UTC (rev 414093)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=38
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2018-11-15 Thread Felix Yan via arch-commits
Date: Friday, November 16, 2018 @ 06:31:23
  Author: felixonmars
Revision: 407870

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 407869, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-16 06:31:23 UTC (rev 407870)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=37
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2018-11-15 Thread Felix Yan via arch-commits
Date: Thursday, November 15, 2018 @ 19:09:09
  Author: felixonmars
Revision: 407748

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 407747, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-15 19:09:09 UTC (rev 407748)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=36
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2018-11-14 Thread Felix Yan via arch-commits
Date: Wednesday, November 14, 2018 @ 21:27:38
  Author: felixonmars
Revision: 407508

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 407507, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-14 21:27:38 UTC (rev 407508)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=35
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 12:38:12
  Author: felixonmars
Revision: 402773

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 402772, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 12:38:12 UTC (rev 402773)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=34
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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-drbg/repos (2 files)

2018-10-31 Thread Felix Yan via arch-commits
Date: Wednesday, October 31, 2018 @ 11:51:20
  Author: felixonmars
Revision: 400088

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-drbg/repos/community-staging-x86_64/PKGBUILD (from rev 400087, 
haskell-drbg/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-31 11:51:20 UTC (rev 400088)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=DRBG
+pkgname=haskell-drbg
+pkgver=0.5.5
+pkgrel=33
+pkgdesc="Deterministic random bit generator (aka RNG, PRNG) based HMACs, 
Hashes, and Ciphers."
+url="https://github.com/TomMD/DRBG;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-prettyclass' 'haskell-tagged' 
'haskell-crypto-api'
+ 'haskell-cryptohash-cryptoapi' 'haskell-parallel' 
'haskell-cipher-aes128' 'haskell-entropy')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-crypto-api-tests' 
'haskell-hunit'
+ 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e71fc158a7961729ce10d2ca795a935d6a103f31e864f0446cc4faf2b0edb3a5938a4cc79135cf043a375e63f9be4401ce092951b4e8f47c1c3b1c2070c118be')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/TomMD/DRBG/issues/7
+runhaskell Setup test || echo "Tests expected to fail"
+}
+
+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   >