[arch-commits] Commit in haskell-vector/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Dec 30 08:23:10 UTC 2019
Date: Monday, December 30, 2019 @ 08:23:10
Author: felixonmars
Revision: 544135
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-vector/repos/community-staging-x86_64/PKGBUILD
(from rev 544134, haskell-vector/trunk/PKGBUILD)
Deleted:
haskell-vector/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-30 08:23:01 UTC (rev 544134)
+++ PKGBUILD 2019-12-30 08:23:10 UTC (rev 544135)
@@ -1,34 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=haskell-vector
-pkgver=0.12.0.3
-pkgrel=19
-pkgdesc="Efficient Arrays"
-url="https://hackage.haskell.org/package/vector"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-primitive')
-makedepends=('ghc' 'haskell-base-orphans')
-source=("https://hackage.haskell.org/packages/archive/vector/${pkgver}/vector-${pkgver}.tar.gz")
-sha512sums=('176646ae612866064303cd200e9d940fec1645bb88176a89adb00df3b9a6df96200e3c9cf85a57af3a1481d6633b353da8e03d7a6c467c40e926275fe8d36853')
-
-build() {
- cd "$srcdir"/vector-${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
- 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 "$srcdir"/vector-${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 -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
- rm -f "$pkgdir"/usr/share/doc/${pkgname}/LICENSE
-}
Copied: haskell-vector/repos/community-staging-x86_64/PKGBUILD (from rev 544134, haskell-vector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-30 08:23:10 UTC (rev 544135)
@@ -0,0 +1,34 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=haskell-vector
+pkgver=0.12.0.3
+pkgrel=20
+pkgdesc="Efficient Arrays"
+url="https://hackage.haskell.org/package/vector"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-primitive')
+makedepends=('ghc' 'haskell-base-orphans')
+source=("https://hackage.haskell.org/packages/archive/vector/${pkgver}/vector-${pkgver}.tar.gz")
+sha512sums=('176646ae612866064303cd200e9d940fec1645bb88176a89adb00df3b9a6df96200e3c9cf85a57af3a1481d6633b353da8e03d7a6c467c40e926275fe8d36853')
+
+build() {
+ cd "$srcdir"/vector-${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
+ 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 "$srcdir"/vector-${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 -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+ rm -f "$pkgdir"/usr/share/doc/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list