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

Felix Yan felixonmars at archlinux.org
Wed May 29 00:35:08 UTC 2019


    Date: Wednesday, May 29, 2019 @ 00:35:07
  Author: felixonmars
Revision: 473408

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-path-io/repos/community-staging-x86_64/PKGBUILD
    (from rev 473407, haskell-path-io/trunk/PKGBUILD)
Deleted:
  haskell-path-io/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-29 00:34:56 UTC (rev 473407)
+++ PKGBUILD	2019-05-29 00:35:07 UTC (rev 473408)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Nagy <danielnagy at gmx de>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-
-_hkgname=path-io
-pkgname=haskell-path-io
-pkgver=1.4.2
-pkgrel=23
-pkgdesc="Interface to ‘directory’ package for users of ‘path’"
-url="https://github.com/mrkkrp/path-io"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-dlist' 'haskell-exceptions' 'haskell-path' 'haskell-temporary'
-         'haskell-unix-compat')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
-sha512sums=('01a20544dba6aa8941da8826296ee6e6d1d83b7b3a102625a18c95db7f6cc42115f766371838f0fc0f39ca1f603cfad34660643eb66efbcd206afea78c67d38e')
-
-build() {
-  cd "$srcdir/$_hkgname-$pkgver"
-  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-dev
-  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
-}
-
-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"
-  install -D -m644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
-  rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE.md"
-}

Copied: haskell-path-io/repos/community-staging-x86_64/PKGBUILD (from rev 473407, haskell-path-io/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-29 00:35:07 UTC (rev 473408)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Nagy <danielnagy at gmx de>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+
+_hkgname=path-io
+pkgname=haskell-path-io
+pkgver=1.4.2
+pkgrel=24
+pkgdesc="Interface to ‘directory’ package for users of ‘path’"
+url="https://github.com/mrkkrp/path-io"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-exceptions' 'haskell-path' 'haskell-temporary'
+         'haskell-unix-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
+sha512sums=('01a20544dba6aa8941da8826296ee6e6d1d83b7b3a102625a18c95db7f6cc42115f766371838f0fc0f39ca1f603cfad34660643eb66efbcd206afea78c67d38e')
+
+build() {
+  cd "$srcdir/$_hkgname-$pkgver"
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-dev
+  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
+}
+
+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"
+  install -D -m644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+  rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE.md"
+}


More information about the arch-commits mailing list