[arch-commits] Commit in haskell-gauge/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jan 17 17:25:49 UTC 2018


    Date: Wednesday, January 17, 2018 @ 17:25:47
  Author: felixonmars
Revision: 283747

archrelease: copy trunk to community-x86_64

Added:
  haskell-gauge/repos/community-x86_64/PKGBUILD
    (from rev 283746, haskell-gauge/trunk/PKGBUILD)
Deleted:
  haskell-gauge/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-17 17:25:29 UTC (rev 283746)
+++ PKGBUILD	2018-01-17 17:25:47 UTC (rev 283747)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=gauge
-pkgname=haskell-gauge
-pkgver=0.2.0
-pkgrel=2
-pkgdesc="Small framework for performance measurement and analysis"
-url="https://github.com/vincenthz/hs-gauge"
-license=("custom:BSD3")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-basement' 'haskell-mwc-random' 'haskell-vector'
-         'haskell-math-functions')
-makedepends=('ghc' 'haskell-hunit' 'haskell-tasty' 'haskell-tasty-hunit')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('33bc1f092f4afe05ee55929700a0fa87b23a704351770516fbb38767d03d98ee492c1651dcc3d24dda22449449e76ad2f6bfc8966d3c7716a1e394e68f5987a8')
-
-build() {
-    cd "${srcdir}/${_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 \
-            -fanalysis
-    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
-}
-
-check() {
-    cd $_hkgname-$pkgver
-    runhaskell Setup test
-}
-
-package() {
-    cd "${srcdir}/${_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-gauge/repos/community-x86_64/PKGBUILD (from rev 283746, haskell-gauge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-17 17:25:47 UTC (rev 283747)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=gauge
+pkgname=haskell-gauge
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="Small framework for performance measurement and analysis"
+url="https://github.com/vincenthz/hs-gauge"
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement' 'haskell-vector')
+makedepends=('ghc' 'haskell-hunit' 'haskell-tasty' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('5a969a8eb67de4005b82d8bc34aebaaf0da4be119d412d5d07c8b4e63825ef705634e53ea80e3d95694573700a20c9a0ae7c53d8c4d623b4d339874b600b3382')
+
+build() {
+    cd "${srcdir}/${_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 \
+            -fanalysis
+    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
+}
+
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
+package() {
+    cd "${srcdir}/${_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