[arch-commits] Commit in haskell-gi/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Aug 4 18:12:41 UTC 2020


    Date: Tuesday, August 4, 2020 @ 18:12:41
  Author: felixonmars
Revision: 668995

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-04 18:12:29 UTC (rev 668994)
+++ PKGBUILD	2020-08-04 18:12:41 UTC (rev 668995)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=haskell-gi
-pkgname=haskell-gi
-pkgver=0.24.0
-pkgrel=4
-pkgdesc="Generate Haskell bindings for GObject Introspection capable libraries"
-url="https://github.com/haskell-gi/haskell-gi"
-license=("LGPL2")
-arch=('x86_64')
-depends=('ghc-libs' 'glib2' 'haskell-gi-base' 'haskell-ansi-terminal' 'haskell-attoparsec'
-         'haskell-pretty-show' 'haskell-safe' 'haskell-xdg-basedir' 'haskell-xml-conduit'
-         'haskell-regex-tdfa')
-makedepends=('ghc' 'gobject-introspection' 'haskell-cabal-doctest' 'haskell-doctest')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('5bdb394cdc6d5c3035d4602fe9f775a2e8e499bdd193bd0e90a47517d9a15eba87d925a592f0780fa72c2c5d20f9682e432c323868aa1a2fc6278d3b0907763a')
-
-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"
-    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-gi/repos/community-staging-x86_64/PKGBUILD (from rev 668994, haskell-gi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-04 18:12:41 UTC (rev 668995)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=haskell-gi
+pkgname=haskell-gi
+pkgver=0.24.0
+pkgrel=5
+pkgdesc="Generate Haskell bindings for GObject Introspection capable libraries"
+url="https://github.com/haskell-gi/haskell-gi"
+license=("LGPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'glib2' 'haskell-gi-base' 'haskell-ansi-terminal' 'haskell-attoparsec'
+         'haskell-pretty-show' 'haskell-safe' 'haskell-xdg-basedir' 'haskell-xml-conduit'
+         'haskell-regex-tdfa')
+makedepends=('ghc' 'gobject-introspection' 'haskell-cabal-doctest' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('5bdb394cdc6d5c3035d4602fe9f775a2e8e499bdd193bd0e90a47517d9a15eba87d925a592f0780fa72c2c5d20f9682e432c323868aa1a2fc6278d3b0907763a')
+
+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"
+    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


More information about the arch-commits mailing list