[arch-commits] Commit in haskell-crypto-api-tests/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Feb 5 08:33:04 UTC 2020
Date: Wednesday, February 5, 2020 @ 08:33:03
Author: felixonmars
Revision: 562867
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-crypto-api-tests/repos/community-staging-x86_64/PKGBUILD
(from rev 562866, haskell-crypto-api-tests/trunk/PKGBUILD)
Deleted:
haskell-crypto-api-tests/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-05 08:32:47 UTC (rev 562866)
+++ PKGBUILD 2020-02-05 08:33:03 UTC (rev 562867)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=crypto-api-tests
-pkgname=haskell-crypto-api-tests
-pkgver=0.3
-pkgrel=43
-pkgdesc="A test framework and KATs for cryptographic operations."
-url="http://trac.haskell.org/crypto-api/wiki"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-test-framework-quickcheck2' 'haskell-crypto-api' 'haskell-cereal'
- 'haskell-test-framework' 'haskell-test-framework-hunit' 'haskell-hunit'
- 'haskell-quickcheck')
-makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('4d9dfd52dc67279a712bd444972faa6650d987c8f65fb41178e5c6523a7260c0e2df8f44bc511ffa217b6d71c5ec41ab11a0466a326c9133f7e20c01c37404d5')
-
-build() {
- cd $_hkgname-$pkgver
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
- 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
-}
-
-package() {
- cd $_hkgname-$pkgver
-
- install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
- install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
- runhaskell Setup copy --destdir="$pkgdir"
- install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}
Copied: haskell-crypto-api-tests/repos/community-staging-x86_64/PKGBUILD (from rev 562866, haskell-crypto-api-tests/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-05 08:33:03 UTC (rev 562867)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=crypto-api-tests
+pkgname=haskell-crypto-api-tests
+pkgver=0.3
+pkgrel=44
+pkgdesc="A test framework and KATs for cryptographic operations."
+url="http://trac.haskell.org/crypto-api/wiki"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-test-framework-quickcheck2' 'haskell-crypto-api' 'haskell-cereal'
+ 'haskell-test-framework' 'haskell-test-framework-hunit' 'haskell-hunit'
+ 'haskell-quickcheck')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4d9dfd52dc67279a712bd444972faa6650d987c8f65fb41178e5c6523a7260c0e2df8f44bc511ffa217b6d71c5ec41ab11a0466a326c9133f7e20c01c37404d5')
+
+build() {
+ cd $_hkgname-$pkgver
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+ 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
+}
+
+package() {
+ cd $_hkgname-$pkgver
+
+ install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+ install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+ runhaskell Setup copy --destdir="$pkgdir"
+ install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list