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

Felix Yan felixonmars at archlinux.org
Mon Dec 21 08:31:54 UTC 2020


    Date: Monday, December 21, 2020 @ 08:31:53
  Author: felixonmars
Revision: 780848

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-golden/repos/community-staging-x86_64/PKGBUILD
    (from rev 780847, haskell-tasty-golden/trunk/PKGBUILD)
Deleted:
  haskell-tasty-golden/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-21 08:31:32 UTC (rev 780847)
+++ PKGBUILD	2020-12-21 08:31:53 UTC (rev 780848)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=tasty-golden
-pkgname=haskell-tasty-golden
-pkgver=2.3.4
-pkgrel=35
-pkgdesc="Golden tests support for tasty"
-url="https://github.com/feuerbach/tasty-golden"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' "haskell-tasty" "haskell-optparse-applicative" "haskell-temporary"
-         "haskell-tagged" "haskell-async" 'haskell-unix-compat')
-makedepends=('ghc' 'haskell-tasty-hunit')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('fbc309cf7951a348f172c7cb115ef53d6cda77d47793ebbf9fbfd697187dc8773e6283d705162ce0beb877887136f34db315de0e8d48eff5f872acce32ebf516')
-
-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-tasty-golden/repos/community-staging-x86_64/PKGBUILD (from rev 780847, haskell-tasty-golden/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-21 08:31:53 UTC (rev 780848)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=tasty-golden
+pkgname=haskell-tasty-golden
+pkgver=2.3.4
+pkgrel=36
+pkgdesc="Golden tests support for tasty"
+url="https://github.com/feuerbach/tasty-golden"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-tasty" "haskell-optparse-applicative" "haskell-temporary"
+         "haskell-tagged" "haskell-async" 'haskell-unix-compat')
+makedepends=('ghc' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('fbc309cf7951a348f172c7cb115ef53d6cda77d47793ebbf9fbfd697187dc8773e6283d705162ce0beb877887136f34db315de0e8d48eff5f872acce32ebf516')
+
+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