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

Felix Yan felixonmars at archlinux.org
Mon May 27 14:33:30 UTC 2019


    Date: Monday, May 27, 2019 @ 14:33:29
  Author: felixonmars
Revision: 471415

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-27 14:33:16 UTC (rev 471414)
+++ PKGBUILD	2019-05-27 14:33:29 UTC (rev 471415)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=resolv
-pkgname=haskell-resolv
-pkgver=0.1.1.1
-pkgrel=27
-pkgdesc="Domain Name Service (DNS) lookup via the libresolv standard library routines"
-url="https://github.com/hvr/resolv"
-license=('GPL')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base16-bytestring')
-makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('0bc87f922072077d08d49e583d7fe60127380044ff2433e2e794029b77b4334f854c8cec451c4ad5a938bb52144b6f0fd9cad9d550ba208cd96fb0acdb631536')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.12/<2/' -e 's/<.*0.10/<1/' -e 's/< *0.6/<1/' $_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 --disable-tests \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-    runhaskell Setup build
-    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
-    # https://github.com/haskell-hvr/resolv/issues/1
-    # 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-resolv/repos/community-staging-x86_64/PKGBUILD (from rev 471414, haskell-resolv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-27 14:33:29 UTC (rev 471415)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=resolv
+pkgname=haskell-resolv
+pkgver=0.1.1.1
+pkgrel=28
+pkgdesc="Domain Name Service (DNS) lookup via the libresolv standard library routines"
+url="https://github.com/hvr/resolv"
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('0bc87f922072077d08d49e583d7fe60127380044ff2433e2e794029b77b4334f854c8cec451c4ad5a938bb52144b6f0fd9cad9d550ba208cd96fb0acdb631536')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.12/<2/' -e 's/<.*0.10/<1/' -e 's/< *0.6/<1/' $_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 --disable-tests \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+    runhaskell Setup build
+    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
+    # https://github.com/haskell-hvr/resolv/issues/1
+    # 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