[arch-commits] Commit in haskell-ghc-lib-parser-ex/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Aug 3 06:35:07 UTC 2020
Date: Monday, August 3, 2020 @ 06:35:06
Author: felixonmars
Revision: 667996
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-ghc-lib-parser-ex/repos/community-staging-x86_64/PKGBUILD
(from rev 667995, haskell-ghc-lib-parser-ex/trunk/PKGBUILD)
Deleted:
haskell-ghc-lib-parser-ex/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-03 06:34:54 UTC (rev 667995)
+++ PKGBUILD 2020-08-03 06:35:06 UTC (rev 667996)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=ghc-lib-parser-ex
-pkgname=haskell-ghc-lib-parser-ex
-pkgver=8.10.0.14
-pkgrel=6
-pkgdesc="Algorithms on GHC parse trees"
-url="https://github.com/shayne-fletcher/ghc-lib-parser-ex"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-uniplate' 'haskell-ghc')
-makedepends=('ghc' 'haskell-extra' 'haskell-tasty' 'haskell-tasty-hunit')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('672f74e8540a55715127af60b49859a8517fbd5c5d4abc1d66a9bfd18952fa8ec1fb55551624e75e9744730e20a3e50111f5710cf1b2a88b3637d79ae1a43bd0')
-
-build() {
- cd $_hkgname-$pkgver
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
- 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
-}
-
-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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}
Copied: haskell-ghc-lib-parser-ex/repos/community-staging-x86_64/PKGBUILD (from rev 667995, haskell-ghc-lib-parser-ex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-03 06:35:06 UTC (rev 667996)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=ghc-lib-parser-ex
+pkgname=haskell-ghc-lib-parser-ex
+pkgver=8.10.0.15
+pkgrel=1
+pkgdesc="Algorithms on GHC parse trees"
+url="https://github.com/shayne-fletcher/ghc-lib-parser-ex"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-uniplate' 'haskell-ghc')
+makedepends=('ghc' 'haskell-extra' 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('701ea577355a71743c2e69c87403314b1b81ba8d8242bf57f6bae896414efb13b78d60ff2403bfc85efb88752d6bf84d6d3f9d680fde956306d65bc60b74e2e7')
+
+build() {
+ cd $_hkgname-$pkgver
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+ 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
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list