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

Felix Yan felixonmars at gemini.archlinux.org
Fri May 13 13:36:39 UTC 2022


    Date: Friday, May 13, 2022 @ 13:36:39
  Author: felixonmars
Revision: 1201967

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-13 13:36:26 UTC (rev 1201966)
+++ PKGBUILD	2022-05-13 13:36:39 UTC (rev 1201967)
@@ -1,37 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=haskell-glib
-pkgver=0.13.8.2
-pkgrel=6
-pkgdesc="Binding to the GLIB library for Gtk2Hs."
-url="https://hackage.haskell.org/package/glib"
-license=('LGPL2.1')
-arch=('x86_64')
-depends=('ghc-libs' 'glib2' 'haskell-utf8-string')
-makedepends=('ghc' "haskell-gtk2hs-buildtools")
-provides=('gtk2hs-glib')
-replaces=('gtk2hs-glib')
-conflicts=('gtk2hs-glib')
-source=(https://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz)
-sha512sums=('ad1be2434f88f02e65142333ebbc9bac7a5ed94ff4053478c33d5f4abdb67743b9541568ee2df18b82b6e6752f341bc808b8c109d04a68aa3a2068cb4f3cbcbe')
-
-build() {
-    cd "${srcdir}/glib-${pkgver}"
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
-    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
-}
-
-package() {
-    cd "${srcdir}/glib-${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"
-}

Copied: haskell-glib/repos/community-staging-x86_64/PKGBUILD (from rev 1201966, haskell-glib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-13 13:36:39 UTC (rev 1201967)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=haskell-glib
+pkgver=0.13.8.2
+pkgrel=7
+pkgdesc="Binding to the GLIB library for Gtk2Hs."
+url="https://hackage.haskell.org/package/glib"
+license=('LGPL2.1')
+arch=('x86_64')
+depends=('ghc-libs' 'glib2' 'haskell-utf8-string')
+makedepends=('ghc' "haskell-gtk2hs-buildtools")
+provides=('gtk2hs-glib')
+replaces=('gtk2hs-glib')
+conflicts=('gtk2hs-glib')
+source=(https://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz)
+sha512sums=('ad1be2434f88f02e65142333ebbc9bac7a5ed94ff4053478c33d5f4abdb67743b9541568ee2df18b82b6e6752f341bc808b8c109d04a68aa3a2068cb4f3cbcbe')
+
+build() {
+    cd "${srcdir}/glib-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
+    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
+}
+
+package() {
+    cd "${srcdir}/glib-${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"
+}



More information about the arch-commits mailing list