Date: Saturday, July 27, 2019 @ 05:48:17 Author: felixonmars Revision: 493017
archrelease: copy trunk to community-staging-x86_64 Added: haskell-vector/repos/community-staging-x86_64/PKGBUILD (from rev 493016, 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-07-27 05:48:03 UTC (rev 493016) +++ PKGBUILD 2019-07-27 05:48:17 UTC (rev 493017) @@ -1,34 +0,0 @@ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=haskell-vector -pkgver=0.12.0.3 -pkgrel=12 -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 493016, haskell-vector/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-27 05:48:17 UTC (rev 493017) @@ -0,0 +1,34 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=haskell-vector +pkgver=0.12.0.3 +pkgrel=13 +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 +}