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

Felix Yan felixonmars at archlinux.org
Mon Dec 28 20:41:49 UTC 2020


    Date: Monday, December 28, 2020 @ 20:41:49
  Author: felixonmars
Revision: 795941

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-vector/repos/community-staging-x86_64/PKGBUILD
    (from rev 795940, haskell-vector/trunk/PKGBUILD)
Deleted:
  haskell-vector/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-28 20:41:38 UTC (rev 795940)
+++ PKGBUILD	2020-12-28 20:41:49 UTC (rev 795941)
@@ -1,47 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=haskell-vector
-pkgver=0.12.1.2
-pkgrel=85
-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' 'haskell-hunit' 'haskell-quickcheck' 'haskell-random'
-             'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/vector/${pkgver}/vector-${pkgver}.tar.gz")
-sha512sums=('36d0237cf7c5a6b78f88b33ff09ea8b19baeaf85609efdeba9ab802ca588956457d4607304b73e8d58e9e802a9101c23da62caee71508f069047a6d531e50170')
-
-prepare() {
-  cd vector-$pkgver
-  sed -i 's/,semigroups$//' vector.cabal
-}
-
-build() {
-  cd "$srcdir"/vector-${pkgver}
-
-  if (( CHECKFUNC )); then
-      _opts=('--enable-tests')
-  else
-      _opts=('--disable-tests')
-  fi
-
-  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-      --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
-      --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
-}
-
-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 795940, haskell-vector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-28 20:41:49 UTC (rev 795941)
@@ -0,0 +1,47 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=haskell-vector
+pkgver=0.12.1.2
+pkgrel=86
+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' 'haskell-hunit' 'haskell-quickcheck' 'haskell-random'
+             'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/vector/${pkgver}/vector-${pkgver}.tar.gz")
+sha512sums=('36d0237cf7c5a6b78f88b33ff09ea8b19baeaf85609efdeba9ab802ca588956457d4607304b73e8d58e9e802a9101c23da62caee71508f069047a6d531e50170')
+
+prepare() {
+  cd vector-$pkgver
+  sed -i 's/,semigroups$//' vector.cabal
+}
+
+build() {
+  cd "$srcdir"/vector-${pkgver}
+
+  if (( CHECKFUNC )); then
+      _opts=('--enable-tests')
+  else
+      _opts=('--disable-tests')
+  fi
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+      --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+      --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
+}
+
+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