[arch-commits] Commit in haskell-mutable-containers/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Aug 5 10:20:52 UTC 2020
Date: Wednesday, August 5, 2020 @ 10:20:51
Author: felixonmars
Revision: 669296
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-mutable-containers/repos/community-staging-x86_64/PKGBUILD
(from rev 669294, haskell-mutable-containers/trunk/PKGBUILD)
Deleted:
haskell-mutable-containers/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-05 10:20:51 UTC (rev 669295)
+++ PKGBUILD 2020-08-05 10:20:51 UTC (rev 669296)
@@ -1,44 +0,0 @@
-
-_hkgname=mutable-containers
-pkgname=haskell-mutable-containers
-pkgver=0.3.4
-pkgrel=39
-pkgdesc='Abstactions and concrete implementations of mutable containers'
-arch=(x86_64)
-url="https://hackage.haskell.org/package/$_hkgname"
-license=(MIT)
-depends=(ghc-libs haskell-vector haskell-mono-traversable)
-makedepends=(ghc)
-checkdepends=(haskell-quickcheck haskell-hspec)
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha512sums=('1731380fd57c8c79a77cea781fb7630f90e11cfa977ca836695981bcecf10b7d2d5f3e89e8a6de5fd3fb32ac441b0512c7a6fd356107e6efa47b0d5fd491157c')
-
-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
-}
-
-# vim: ts=2 sw=2 et:
Copied: haskell-mutable-containers/repos/community-staging-x86_64/PKGBUILD (from rev 669294, haskell-mutable-containers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-05 10:20:51 UTC (rev 669296)
@@ -0,0 +1,44 @@
+
+_hkgname=mutable-containers
+pkgname=haskell-mutable-containers
+pkgver=0.3.4
+pkgrel=40
+pkgdesc='Abstactions and concrete implementations of mutable containers'
+arch=(x86_64)
+url="https://hackage.haskell.org/package/$_hkgname"
+license=(MIT)
+depends=(ghc-libs haskell-vector haskell-mono-traversable)
+makedepends=(ghc)
+checkdepends=(haskell-quickcheck haskell-hspec)
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('1731380fd57c8c79a77cea781fb7630f90e11cfa977ca836695981bcecf10b7d2d5f3e89e8a6de5fd3fb32ac441b0512c7a6fd356107e6efa47b0d5fd491157c')
+
+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
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list