[arch-commits] Commit in haskell-non-negative/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 27 14:17:10 UTC 2019


    Date: Monday, May 27, 2019 @ 14:17:09
  Author: felixonmars
Revision: 471379

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-non-negative/repos/community-staging-x86_64/PKGBUILD
    (from rev 471378, haskell-non-negative/trunk/PKGBUILD)
Deleted:
  haskell-non-negative/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-27 14:16:54 UTC (rev 471378)
+++ PKGBUILD	2019-05-27 14:17:09 UTC (rev 471379)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=non-negative
-pkgname=haskell-non-negative
-pkgver=0.1.2
-pkgrel=12
-pkgdesc="Non-negative numbers"
-url="http://code.haskell.org/~thielema/non-negative/"
-license=("GPL")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-quickcheck' 'haskell-utility-ht')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('7f6cc45889c8618d35c549180c685b1cfccecf7e231bc8ca1acb5b0b048d67d1bca4c00f6c43e5dbb5c17f15d6771906eb560b443c277657458ca9609419b868')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i '/semigroups/d' $_hkgname.cabal
-}
-
-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 \
-            -fsplitbase
-    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"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: haskell-non-negative/repos/community-staging-x86_64/PKGBUILD (from rev 471378, haskell-non-negative/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-27 14:17:09 UTC (rev 471379)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=non-negative
+pkgname=haskell-non-negative
+pkgver=0.1.2
+pkgrel=13
+pkgdesc="Non-negative numbers"
+url="http://code.haskell.org/~thielema/non-negative/"
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-utility-ht')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('7f6cc45889c8618d35c549180c685b1cfccecf7e231bc8ca1acb5b0b048d67d1bca4c00f6c43e5dbb5c17f15d6771906eb560b443c277657458ca9609419b868')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+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 \
+            -fsplitbase
+    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"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


More information about the arch-commits mailing list