[arch-commits] Commit in haskell-bv-sized/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 6 19:06:58 UTC 2020
Date: Friday, November 6, 2020 @ 19:06:58
Author: felixonmars
Revision: 744522
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-bv-sized/repos/community-staging-x86_64/PKGBUILD
(from rev 744521, haskell-bv-sized/trunk/PKGBUILD)
Deleted:
haskell-bv-sized/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-06 19:00:16 UTC (rev 744521)
+++ PKGBUILD 2020-11-06 19:06:58 UTC (rev 744522)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=bv-sized
-pkgname=haskell-bv-sized
-pkgver=1.0.2
-pkgrel=29
-pkgdesc="A bitvector datatype that is parameterized by the vector width"
-url="https://github.com/GaloisInc/bv-sized"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-bitwise' 'haskell-panic' 'haskell-parameterized-utils'
- 'haskell-th-lift')
-makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('444765f2ba395edfdf2ebcc78ab336f4ac408ee64f1be6964821fc7c7ccf011fe8d3118e1f471a5e29889e4b1dd72e26d05eb3cac865b2d8c38831af81327443')
-
-prepare() {
- cd $_hkgname-$pkgver
- echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.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
-}
Copied: haskell-bv-sized/repos/community-staging-x86_64/PKGBUILD (from rev 744521, haskell-bv-sized/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-06 19:06:58 UTC (rev 744522)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=bv-sized
+pkgname=haskell-bv-sized
+pkgver=1.0.2
+pkgrel=29
+pkgdesc="A bitvector datatype that is parameterized by the vector width"
+url="https://github.com/GaloisInc/bv-sized"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bitwise' 'haskell-panic' 'haskell-parameterized-utils'
+ 'haskell-th-lift')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('444765f2ba395edfdf2ebcc78ab336f4ac408ee64f1be6964821fc7c7ccf011fe8d3118e1f471a5e29889e4b1dd72e26d05eb3cac865b2d8c38831af81327443')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.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
+}
More information about the arch-commits
mailing list