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

Felix Yan felixonmars at archlinux.org
Wed Aug 5 10:03:07 UTC 2020


    Date: Wednesday, August 5, 2020 @ 10:03:07
  Author: felixonmars
Revision: 669252

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 10:02:54 UTC (rev 669251)
+++ PKGBUILD	2020-08-05 10:03:07 UTC (rev 669252)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=generic-data
-pkgname=haskell-generic-data
-pkgver=0.8.3.0
-pkgrel=17
-pkgdesc="Deriving instances with GHC.Generics and related utilities"
-url="https://github.com/Lysxia/generic-data"
-license=('MIT')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-orphans' 'haskell-contravariant' 'haskell-show-combinators')
-makedepends=('ghc' 'haskell-doctest' 'haskell-generic-lens' 'haskell-glob' 'haskell-one-liner'
-             'haskell-quickcheck' 'haskell-show-combinators' 'haskell-tasty' 'haskell-tasty-hunit')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('406177a0432a5003062c79a14e9717f1f933272ea5f28967e8483ecb80824437ae5736f66d7b1d0759bec3edbd1b51468d4828519227ea0f79697562fc50d9c1')
-
-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-generic-data/repos/community-staging-x86_64/PKGBUILD (from rev 669251, haskell-generic-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-05 10:03:07 UTC (rev 669252)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=generic-data
+pkgname=haskell-generic-data
+pkgver=0.8.3.0
+pkgrel=18
+pkgdesc="Deriving instances with GHC.Generics and related utilities"
+url="https://github.com/Lysxia/generic-data"
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans' 'haskell-contravariant' 'haskell-show-combinators')
+makedepends=('ghc' 'haskell-doctest' 'haskell-generic-lens' 'haskell-glob' 'haskell-one-liner'
+             'haskell-quickcheck' 'haskell-show-combinators' 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('406177a0432a5003062c79a14e9717f1f933272ea5f28967e8483ecb80824437ae5736f66d7b1d0759bec3edbd1b51468d4828519227ea0f79697562fc50d9c1')
+
+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