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

Felix Yan felixonmars at archlinux.org
Tue May 28 21:00:29 UTC 2019


    Date: Tuesday, May 28, 2019 @ 21:00:29
  Author: felixonmars
Revision: 473098

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-extra/repos/community-staging-x86_64/PKGBUILD
    (from rev 473097, haskell-extra/trunk/PKGBUILD)
Deleted:
  haskell-extra/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-28 21:00:07 UTC (rev 473097)
+++ PKGBUILD	2019-05-28 21:00:29 UTC (rev 473098)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=extra
-pkgname=haskell-extra
-pkgver=1.6.16
-pkgrel=4
-pkgdesc="Extra functions I use."
-url="https://github.com/ndmitchell/extra#readme"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-clock')
-makedepends=('ghc' 'haskell-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('f420c36610ceb5eccc177ab860460dddd1b4accb0777bc49fe008fa13ca6e9014eb6745cd59d1f1a8af3e91f3fc0268a74b772464694ca3c036d9e99dc52f509')
-
-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
-    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"
-}

Copied: haskell-extra/repos/community-staging-x86_64/PKGBUILD (from rev 473097, haskell-extra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-28 21:00:29 UTC (rev 473098)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=extra
+pkgname=haskell-extra
+pkgver=1.6.16
+pkgrel=5
+pkgdesc="Extra functions I use."
+url="https://github.com/ndmitchell/extra#readme"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-clock')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('f420c36610ceb5eccc177ab860460dddd1b4accb0777bc49fe008fa13ca6e9014eb6745cd59d1f1a8af3e91f3fc0268a74b772464694ca3c036d9e99dc52f509')
+
+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
+    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"
+}



More information about the arch-commits mailing list