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

2020-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 01:59:14
  Author: felixonmars
Revision: 794278

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 794277, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 01:59:14 UTC (rev 794278)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=60
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 23:57:38
  Author: felixonmars
Revision: 791274

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 791273, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 23:57:38 UTC (rev 791274)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=59
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 01:17:30
  Author: felixonmars
Revision: 789356

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 789355, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 01:17:30 UTC (rev 789356)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=58
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 04:58:00
  Author: felixonmars
Revision: 786352

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 786351, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 04:58:00 UTC (rev 786352)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=57
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 03:50:16
  Author: felixonmars
Revision: 783539

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 783538, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 03:50:16 UTC (rev 783539)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=56
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 21:46:10
  Author: felixonmars
Revision: 780757

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 780756, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-20 21:46:10 UTC (rev 780757)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=55
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 21:01:59
  Author: felixonmars
Revision: 778080

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 778079, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 21:01:59 UTC (rev 778080)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=54
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 13:32:45
  Author: felixonmars
Revision: 774250

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 774249, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 13:32:45 UTC (rev 774250)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=53
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 20:05:11
  Author: felixonmars
Revision: 764658

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 764657, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 20:05:11 UTC (rev 764658)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=52
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 19:05:08
  Author: felixonmars
Revision: 759429

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 759428, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 19:05:08 UTC (rev 759429)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=51
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 14:45:54
  Author: felixonmars
Revision: 755284

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 755283, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 14:45:54 UTC (rev 755284)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=50
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 10:40:20
  Author: felixonmars
Revision: 743915

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 743914, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 10:40:20 UTC (rev 743915)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=49
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 12:14:18
  Author: felixonmars
Revision: 739550

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 739549, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 12:14:18 UTC (rev 739550)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=48
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-30 Thread Felix Yan via arch-commits
Date: Friday, October 30, 2020 @ 22:01:11
  Author: felixonmars
Revision: 737315

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 737314, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-30 22:01:11 UTC (rev 737315)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=47
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 19:51:14
  Author: felixonmars
Revision: 734982

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 734981, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 19:51:14 UTC (rev 734982)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=46
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-24 Thread Felix Yan via arch-commits
Date: Saturday, October 24, 2020 @ 22:27:57
  Author: felixonmars
Revision: 731897

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 731896, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-24 22:27:57 UTC (rev 731897)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=45
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-21 Thread Felix Yan via arch-commits
Date: Wednesday, October 21, 2020 @ 18:34:35
  Author: felixonmars
Revision: 728195

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 728194, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-21 18:34:35 UTC (rev 728195)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=44
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-16 Thread Felix Yan via arch-commits
Date: Friday, October 16, 2020 @ 20:32:04
  Author: felixonmars
Revision: 724961

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 724960, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-16 20:32:04 UTC (rev 724961)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=43
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 719968, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-06 23:48:48 UTC (rev 719969)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=42
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-03 Thread Felix Yan via arch-commits
Date: Saturday, October 3, 2020 @ 23:33:43
  Author: felixonmars
Revision: 716985

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 716984, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-03 23:33:43 UTC (rev 716985)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=41
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-01 Thread Felix Yan via arch-commits
Date: Thursday, October 1, 2020 @ 23:59:37
  Author: felixonmars
Revision: 714715

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 714714, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-01 23:59:37 UTC (rev 714715)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=40
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-17 Thread Felix Yan via arch-commits
Date: Thursday, September 17, 2020 @ 19:20:40
  Author: felixonmars
Revision: 709140

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 709139, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-17 19:20:40 UTC (rev 709140)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=39
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-14 Thread Felix Yan via arch-commits
Date: Monday, September 14, 2020 @ 19:40:00
  Author: felixonmars
Revision: 706429

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 706428, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-14 19:40:00 UTC (rev 706429)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=38
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 16:13:14
  Author: felixonmars
Revision: 704241

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 704240, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 16:13:14 UTC (rev 704241)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=37
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-10 Thread Felix Yan via arch-commits
Date: Thursday, September 10, 2020 @ 17:52:19
  Author: felixonmars
Revision: 702084

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 702083, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-10 17:52:19 UTC (rev 702084)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=36
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 12:56:49
  Author: felixonmars
Revision: 699707

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 699706, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 12:56:49 UTC (rev 699707)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=35
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-02 Thread Felix Yan via arch-commits
Date: Wednesday, September 2, 2020 @ 18:47:16
  Author: felixonmars
Revision: 696799

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 696798, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-02 18:47:16 UTC (rev 696799)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=34
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-30 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 04:32:13
  Author: felixonmars
Revision: 693537

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 693536, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 04:32:13 UTC (rev 693537)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=33
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 11:01:38
  Author: felixonmars
Revision: 690498

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 690497, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 11:01:38 UTC (rev 690498)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=32
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 14:06:08
  Author: felixonmars
Revision: 688272

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 688271, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 14:06:08 UTC (rev 688272)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=31
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 19:49:52
  Author: felixonmars
Revision: 683143

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 683142, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 19:49:52 UTC (rev 683143)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=30
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-15 Thread Felix Yan via arch-commits
Date: Saturday, August 15, 2020 @ 22:05:18
  Author: felixonmars
Revision: 680151

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 680150, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-15 22:05:18 UTC (rev 680151)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=29
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 16:54:21
  Author: felixonmars
Revision: 677679

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 677678, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 16:54:21 UTC (rev 677679)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=28
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-11 Thread Felix Yan via arch-commits
Date: Tuesday, August 11, 2020 @ 21:43:00
  Author: felixonmars
Revision: 674947

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 674946, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-11 21:43:00 UTC (rev 674947)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=27
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-07-31 Thread Felix Yan via arch-commits
Date: Friday, July 31, 2020 @ 23:16:04
  Author: felixonmars
Revision: 666723

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 666722, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-31 23:16:04 UTC (rev 666723)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=26
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-28 Thread Felix Yan via arch-commits
Date: Sunday, June 28, 2020 @ 22:52:41
  Author: felixonmars
Revision: 655578

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 655577, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-28 22:52:41 UTC (rev 655578)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=25
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-23 Thread Felix Yan via arch-commits
Date: Tuesday, June 23, 2020 @ 22:25:43
  Author: felixonmars
Revision: 651773

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 651772, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-23 22:25:43 UTC (rev 651773)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=24
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-13 Thread Felix Yan via arch-commits
Date: Saturday, June 13, 2020 @ 23:06:10
  Author: felixonmars
Revision: 643369

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 643368, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-13 23:06:10 UTC (rev 643369)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=23
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-09 Thread Felix Yan via arch-commits
Date: Tuesday, June 9, 2020 @ 21:54:41
  Author: felixonmars
Revision: 641056

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 641055, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-09 21:54:41 UTC (rev 641056)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=22
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-05-23 Thread Felix Yan via arch-commits
Date: Saturday, May 23, 2020 @ 16:12:44
  Author: felixonmars
Revision: 632155

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 632154, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-23 16:12:44 UTC (rev 632155)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=21
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-05-12 Thread Felix Yan via arch-commits
Date: Tuesday, May 12, 2020 @ 10:56:04
  Author: felixonmars
Revision: 626787

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 626786, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-12 10:56:04 UTC (rev 626787)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=20
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-24 Thread Felix Yan via arch-commits
Date: Friday, April 24, 2020 @ 06:14:00
  Author: felixonmars
Revision: 618819

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 618818, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-24 06:14:00 UTC (rev 618819)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=19
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-18 Thread Felix Yan via arch-commits
Date: Saturday, April 18, 2020 @ 19:21:16
  Author: felixonmars
Revision: 616144

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 616143, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-18 19:21:16 UTC (rev 616144)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=18
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-01 Thread Felix Yan via arch-commits
Date: Wednesday, April 1, 2020 @ 10:39:07
  Author: felixonmars
Revision: 608693

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 608692, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-01 10:39:07 UTC (rev 608693)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=17
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-03-30 Thread Felix Yan via arch-commits
Date: Monday, March 30, 2020 @ 21:01:23
  Author: felixonmars
Revision: 607251

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 607250, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-30 21:01:23 UTC (rev 607251)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=16
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-03-24 Thread Felix Yan via arch-commits
Date: Wednesday, March 25, 2020 @ 05:06:10
  Author: felixonmars
Revision: 603995

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 603994, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-25 05:06:10 UTC (rev 603995)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=15
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-03-15 Thread Felix Yan via arch-commits
Date: Sunday, March 15, 2020 @ 15:11:21
  Author: felixonmars
Revision: 598215

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 598214, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-15 15:11:21 UTC (rev 598215)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=14
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-03-01 Thread Felix Yan via arch-commits
Date: Sunday, March 1, 2020 @ 18:41:05
  Author: felixonmars
Revision: 587942

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 587941, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-01 18:41:05 UTC (rev 587942)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=13
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-27 Thread Felix Yan via arch-commits
Date: Thursday, February 27, 2020 @ 15:13:49
  Author: felixonmars
Revision: 584243

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 584242, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-27 15:13:49 UTC (rev 584243)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=12
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 16:59:58
  Author: felixonmars
Revision: 581610

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 581609, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-25 16:59:58 UTC (rev 581610)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=11
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-16 Thread Felix Yan via arch-commits
Date: Sunday, February 16, 2020 @ 12:26:52
  Author: felixonmars
Revision: 572447

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 572446, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-16 12:26:52 UTC (rev 572447)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=10
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-02-12 Thread Felix Yan via arch-commits
Date: Wednesday, February 12, 2020 @ 20:13:02
  Author: felixonmars
Revision: 569738

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 569737, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-12 20:13:02 UTC (rev 569738)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=9
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-02-10 Thread Felix Yan via arch-commits
Date: Tuesday, February 11, 2020 @ 00:00:56
  Author: felixonmars
Revision: 566493

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 566492, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-11 00:00:56 UTC (rev 566493)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=8
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-02-09 Thread Felix Yan via arch-commits
Date: Sunday, February 9, 2020 @ 16:05:52
  Author: felixonmars
Revision: 565436

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 565435, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-09 16:05:52 UTC (rev 565436)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=7
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-02-04 Thread Felix Yan via arch-commits
Date: Tuesday, February 4, 2020 @ 19:42:11
  Author: felixonmars
Revision: 562397

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 562396, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-04 19:42:11 UTC (rev 562397)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=5
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-29 Thread Felix Yan via arch-commits
Date: Wednesday, January 29, 2020 @ 15:28:49
  Author: felixonmars
Revision: 559038

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 559037, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-29 15:28:49 UTC (rev 559038)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=4
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-27 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 04:38:10
  Author: felixonmars
Revision: 557268

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 557266, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 04:38:10 UTC (rev 557268)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=3
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-27 Thread Felix Yan via arch-commits
Date: Monday, January 27, 2020 @ 10:50:56
  Author: felixonmars
Revision: 555923

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 555922, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-27 10:50:56 UTC (rev 555923)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=2
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-10 Thread Felix Yan via arch-commits
Date: Saturday, January 11, 2020 @ 00:44:51
  Author: felixonmars
Revision: 551843

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 551842, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-11 00:44:51 UTC (rev 551843)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.4.1
+pkgrel=1
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2cd3145f405bdc7dd1ddef3e93ef70a214b02607dc7f9648d36c258ba16eed881936816f4ae5ea3b7abd77b7b65d36a984e68dd19e3346fcf1d5231bca6cccb3')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-06 Thread Felix Yan via arch-commits
Date: Monday, January 6, 2020 @ 09:14:10
  Author: felixonmars
Revision: 549662

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 549661, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-06 09:14:10 UTC (rev 549662)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=40
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-04 Thread Felix Yan via arch-commits
Date: Saturday, January 4, 2020 @ 20:59:27
  Author: felixonmars
Revision: 548440

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 548439, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-04 20:59:27 UTC (rev 548440)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=39
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-02 Thread Felix Yan via arch-commits
Date: Thursday, January 2, 2020 @ 19:37:43
  Author: felixonmars
Revision: 546578

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 546577, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-02 19:37:43 UTC (rev 546578)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=38
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-12-30 Thread Felix Yan via arch-commits
Date: Monday, December 30, 2019 @ 13:20:24
  Author: felixonmars
Revision: 544611

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 544610, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-30 13:20:24 UTC (rev 544611)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=37
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 541113, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-25 14:30:25 UTC (rev 541114)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=36
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-12-23 Thread Felix Yan via arch-commits
Date: Monday, December 23, 2019 @ 21:11:27
  Author: felixonmars
Revision: 539568

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 539567, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-23 21:11:27 UTC (rev 539568)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=35
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-11-21 Thread Felix Yan via arch-commits
Date: Thursday, November 21, 2019 @ 16:08:12
  Author: felixonmars
Revision: 531164

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 531163, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-21 16:08:12 UTC (rev 531164)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=34
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-10-22 Thread Felix Yan via arch-commits
Date: Tuesday, October 22, 2019 @ 13:12:50
  Author: felixonmars
Revision: 518288

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 518287, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-10-22 13:12:50 UTC (rev 518288)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=33
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-09-12 Thread Felix Yan via arch-commits
Date: Thursday, September 12, 2019 @ 09:08:16
  Author: felixonmars
Revision: 509382

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 509381, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-12 09:08:16 UTC (rev 509382)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=32
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-09-07 Thread Felix Yan via arch-commits
Date: Saturday, September 7, 2019 @ 13:31:17
  Author: felixonmars
Revision: 508422

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 508421, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-07 13:31:17 UTC (rev 508422)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=31
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-09-02 Thread Felix Yan via arch-commits
Date: Monday, September 2, 2019 @ 09:19:29
  Author: felixonmars
Revision: 506940

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 506939, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-02 09:19:29 UTC (rev 506940)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=30
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-08-27 Thread Felix Yan via arch-commits
Date: Tuesday, August 27, 2019 @ 06:29:10
  Author: felixonmars
Revision: 502443

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 502442, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-27 06:29:10 UTC (rev 502443)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=29
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 500648, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-22 17:33:19 UTC (rev 500649)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=28
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-07-31 Thread Felix Yan via arch-commits
Date: Thursday, August 1, 2019 @ 05:47:45
  Author: felixonmars
Revision: 496110

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 496109, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-01 05:47:45 UTC (rev 496110)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=27
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-07-27 Thread Felix Yan via arch-commits
Date: Sunday, July 28, 2019 @ 03:53:49
  Author: felixonmars
Revision: 493529

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 493528, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-28 03:53:49 UTC (rev 493529)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=26
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 490671, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-17 20:44:09 UTC (rev 490672)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=25
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-07-14 Thread Felix Yan via arch-commits
Date: Monday, July 15, 2019 @ 02:03:25
  Author: felixonmars
Revision: 489620

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 489619, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-15 02:03:25 UTC (rev 489620)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=24
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 486719, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-30 20:26:27 UTC (rev 486720)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=23
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-06-27 Thread Felix Yan via arch-commits
Date: Thursday, June 27, 2019 @ 08:04:51
  Author: felixonmars
Revision: 484768

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 484767, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-27 08:04:51 UTC (rev 484768)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=22
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-06-23 Thread Felix Yan via arch-commits
Date: Sunday, June 23, 2019 @ 16:29:26
  Author: felixonmars
Revision: 483153

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 483152, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-23 16:29:26 UTC (rev 483153)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=21
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-06-09 Thread Felix Yan via arch-commits
Date: Sunday, June 9, 2019 @ 12:27:53
  Author: felixonmars
Revision: 478842

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 478841, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-09 12:27:53 UTC (rev 478842)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=20
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 476001, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-31 16:42:05 UTC (rev 476002)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=19
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 30, 2019 @ 18:13:34
  Author: felixonmars
Revision: 474993

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 474992, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-30 18:13:34 UTC (rev 474993)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=18
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-05-28 Thread Felix Yan via arch-commits
Date: Wednesday, May 29, 2019 @ 01:57:13
  Author: felixonmars
Revision: 473544

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 473543, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-29 01:57:13 UTC (rev 473544)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=17
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 471874, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-27 19:27:26 UTC (rev 471875)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=16
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-05-22 Thread Felix Yan via arch-commits
Date: Thursday, May 23, 2019 @ 05:34:09
  Author: felixonmars
Revision: 469156

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 469155, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-23 05:34:09 UTC (rev 469156)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=15
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-05-22 Thread Felix Yan via arch-commits
Date: Wednesday, May 22, 2019 @ 15:26:27
  Author: felixonmars
Revision: 468571

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 468570, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-22 15:26:27 UTC (rev 468571)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=14
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-05-12 Thread Felix Yan via arch-commits
Date: Sunday, May 12, 2019 @ 12:00:19
  Author: felixonmars
Revision: 466295

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 466294, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-12 12:00:19 UTC (rev 466295)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=13
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-05-08 Thread Felix Yan via arch-commits
Date: Thursday, May 9, 2019 @ 00:21:12
  Author: felixonmars
Revision: 463651

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 463650, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-09 00:21:12 UTC (rev 463651)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=12
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-05-06 Thread Felix Yan via arch-commits
Date: Monday, May 6, 2019 @ 15:38:52
  Author: felixonmars
Revision: 461091

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 461090, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-06 15:38:52 UTC (rev 461091)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=11
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-04-28 Thread Felix Yan via arch-commits
Date: Sunday, April 28, 2019 @ 07:46:06
  Author: felixonmars
Revision: 454915

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 454914, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-28 07:46:06 UTC (rev 454915)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=10
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-04-03 Thread Felix Yan via arch-commits
Date: Thursday, April 4, 2019 @ 04:08:43
  Author: felixonmars
Revision: 448845

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 448844, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-04 04:08:43 UTC (rev 448845)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=9
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-04-02 Thread Felix Yan via arch-commits
Date: Tuesday, April 2, 2019 @ 09:24:12
  Author: felixonmars
Revision: 447444

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 447443, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-02 09:24:12 UTC (rev 447444)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=8
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-03-27 Thread Felix Yan via arch-commits
Date: Wednesday, March 27, 2019 @ 08:48:29
  Author: felixonmars
Revision: 444031

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 444030, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-27 08:48:29 UTC (rev 444031)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=7
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-03-10 Thread Felix Yan via arch-commits
Date: Sunday, March 10, 2019 @ 16:00:05
  Author: felixonmars
Revision: 439395

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 439394, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-10 16:00:05 UTC (rev 439395)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=6
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 432676, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-15 13:12:12 UTC (rev 432677)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=5
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 429952, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-07 13:18:00 UTC (rev 429953)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=4
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 425902, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-21 09:48:57 UTC (rev 425903)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=3
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-01-10 Thread Felix Yan via arch-commits
Date: Thursday, January 10, 2019 @ 11:55:19
  Author: felixonmars
Revision: 421625

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 421624, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-10 11:55:19 UTC (rev 421625)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=2
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-01-01 Thread Felix Yan via arch-commits
Date: Tuesday, January 1, 2019 @ 10:06:36
  Author: felixonmars
Revision: 420119

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 420118, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-01 10:06:36 UTC (rev 420119)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.1
+pkgrel=1
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b4d3f406cd7b97237c2b36e2ba659f35871e02a6144b6cb48482fdc7999d9822758472c25b9eaef9ef6aeb8c503fa49b424350a543897217f3aec3084dd7572f')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-12-10 Thread Felix Yan via arch-commits
Date: Monday, December 10, 2018 @ 12:40:29
  Author: felixonmars
Revision: 414137

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rsa/repos/community-staging-x86_64/PKGBUILD (from rev 414136, 
haskell-rsa/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-10 12:40:29 UTC (rev 414137)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=RSA
+pkgname=haskell-rsa
+pkgver=2.3.0
+pkgrel=40
+pkgdesc="Implementation of RSA, using the padding schemes of PKCS#1 v2.1."
+url="https://github.com/GaloisInc/rsa;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-crypto-api' 'haskell-crypto-pubkey-types' 
'haskell-sha')
+makedepends=('ghc' 'haskell-drbg' 'haskell-quickcheck' 'haskell-tagged' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('134e86897ce345de00c660e3a34fb2395bbd82419a7e708b5741ba38113e46092db6c236c55e3e57b4e2c777eaf22850f3e95fc46d2cf70c50c4383519a8319e')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' Test.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


  1   2   >