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

Felix Yan felixonmars at gemini.archlinux.org
Thu Aug 25 14:21:06 UTC 2022


    Date: Thursday, August 25, 2022 @ 14:21:05
  Author: felixonmars
Revision: 1278598

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-network-protocol-xmpp/repos/community-staging-x86_64/PKGBUILD
    (from rev 1278597, haskell-network-protocol-xmpp/trunk/PKGBUILD)
Deleted:
  haskell-network-protocol-xmpp/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-25 14:20:48 UTC (rev 1278597)
+++ PKGBUILD	2022-08-25 14:21:05 UTC (rev 1278598)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=network-protocol-xmpp
-pkgname=haskell-network-protocol-xmpp
-pkgver=0.4.10
-pkgrel=48
-pkgdesc="Client library for the XMPP protocol."
-url="https://git.sr.ht/~singpolyma/network-protocol-xmpp"
-license=("GPL3")
-arch=('x86_64')
-depends=('ghc-libs' "haskell-gnuidn" "haskell-gnutls" "haskell-gsasl" "haskell-libxml-sax"
-         "haskell-monads-tf" "haskell-network" "haskell-network-simple" "haskell-xml-types")
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('5d809eec7243b081c9b2d8f8887b7ed4e1e767ace90ec0a58142ee6ee5e53556b51d2dbd71dbcfece751f197a3255724c904f5d2727241b1d5007934c40f1297')
-
-build() {
-    cd $_hkgname-$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 $_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}/COPYING"
-}

Copied: haskell-network-protocol-xmpp/repos/community-staging-x86_64/PKGBUILD (from rev 1278597, haskell-network-protocol-xmpp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-25 14:21:05 UTC (rev 1278598)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=network-protocol-xmpp
+pkgname=haskell-network-protocol-xmpp
+pkgver=0.4.10
+pkgrel=49
+pkgdesc="Client library for the XMPP protocol."
+url="https://git.sr.ht/~singpolyma/network-protocol-xmpp"
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-gnuidn" "haskell-gnutls" "haskell-gsasl" "haskell-libxml-sax"
+         "haskell-monads-tf" "haskell-network" "haskell-network-simple" "haskell-xml-types")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('5d809eec7243b081c9b2d8f8887b7ed4e1e767ace90ec0a58142ee6ee5e53556b51d2dbd71dbcfece751f197a3255724c904f5d2727241b1d5007934c40f1297')
+
+build() {
+    cd $_hkgname-$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 $_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}/COPYING"
+}



More information about the arch-commits mailing list