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

Felix Yan felixonmars at archlinux.org
Mon May 27 15:12:47 UTC 2019


    Date: Monday, May 27, 2019 @ 15:12:46
  Author: felixonmars
Revision: 471497

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-generic-deriving/repos/community-staging-x86_64/PKGBUILD
    (from rev 471496, haskell-generic-deriving/trunk/PKGBUILD)
Deleted:
  haskell-generic-deriving/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-27 15:12:31 UTC (rev 471496)
+++ PKGBUILD	2019-05-27 15:12:46 UTC (rev 471497)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=generic-deriving
-pkgname=haskell-generic-deriving
-pkgver=1.12.4
-pkgrel=5
-pkgdesc="Generic programming library for generalised deriving."
-url="https://github.com/dreixel/generic-deriving"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-th-abstraction')
-makedepends=('ghc' 'haskell-hspec')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('d3ed8369fe1ebbef2669d0e4e1befc3837d7ff59fad55d1fc495b6fdec90147110cb080638cc26f41c90550c439847bc80f928e0d480875a22bd753eabfd28c7')
-
-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 \
-            -fbase-4-9
-    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-generic-deriving/repos/community-staging-x86_64/PKGBUILD (from rev 471496, haskell-generic-deriving/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-27 15:12:46 UTC (rev 471497)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=generic-deriving
+pkgname=haskell-generic-deriving
+pkgver=1.12.4
+pkgrel=6
+pkgdesc="Generic programming library for generalised deriving."
+url="https://github.com/dreixel/generic-deriving"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-th-abstraction')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('d3ed8369fe1ebbef2669d0e4e1befc3837d7ff59fad55d1fc495b6fdec90147110cb080638cc26f41c90550c439847bc80f928e0d480875a22bd753eabfd28c7')
+
+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 \
+            -fbase-4-9
+    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