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

Felix Yan felixonmars at gemini.archlinux.org
Wed Jul 13 05:17:35 UTC 2022


    Date: Wednesday, July 13, 2022 @ 05:17:35
  Author: felixonmars
Revision: 1251706

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-13 05:17:21 UTC (rev 1251705)
+++ PKGBUILD	2022-07-13 05:17:35 UTC (rev 1251706)
@@ -1,45 +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.7.0
-pkgrel=27
-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-path' 'haskell-temporary'
-         'haskell-unix-compat')
-makedepends=('ghc' 'haskell-hspec')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
-sha512sums=('29b6355eca04eaf675a0016fbcb132a91fd88a200ff1ccbc89e88aba007d692c49a03a0d3e15b41938b33f4d668eb4e970a5bc08b411b8c0331abba630504be3')
-
-build() {
-  cd "$srcdir/$_hkgname-$pkgver"
-  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
-            -f-dev
-  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 --show-details=direct
-}
-
-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 1251705, haskell-path-io/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-13 05:17:35 UTC (rev 1251706)
@@ -0,0 +1,45 @@
+# 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.7.0
+pkgrel=28
+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-path' 'haskell-temporary'
+         'haskell-unix-compat')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
+sha512sums=('29b6355eca04eaf675a0016fbcb132a91fd88a200ff1ccbc89e88aba007d692c49a03a0d3e15b41938b33f4d668eb4e970a5bc08b411b8c0331abba630504be3')
+
+build() {
+  cd "$srcdir/$_hkgname-$pkgver"
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+            -f-dev
+  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 --show-details=direct
+}
+
+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