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

Felix Yan felixonmars at archlinux.org
Thu Sep 17 06:04:14 UTC 2020


    Date: Thursday, September 17, 2020 @ 06:04:14
  Author: felixonmars
Revision: 708543

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-17 06:04:03 UTC (rev 708542)
+++ PKGBUILD	2020-09-17 06:04:14 UTC (rev 708543)
@@ -1,49 +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.1
-pkgrel=16
-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=('43682eec3694decddc91720ca618625cf4e836a3d6b0e7c5fb3edc998ac0d5f764ba7a4292a8cd92e43e8bf52b5b02aa0f9884cd4decd908540835d2d5dbd1c9')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/\^>= 0.10/>= 0.10/' $_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 $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-x86_64/PKGBUILD (from rev 708542, haskell-gi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-17 06:04:14 UTC (rev 708543)
@@ -0,0 +1,49 @@
+# 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.2
+pkgrel=1
+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=('b2e31128a11679f33ac6519106973606fda59f0fd285fe1197733f163eb96a6620ec90b2ff00f2190140310256ad4fe03d2d8b4d44e2c551d15a94ac510029bb')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/\^>= 0.10/>= 0.10/' $_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 $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