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

Felix Yan felixonmars at archlinux.org
Mon Dec 30 08:01:39 UTC 2019


    Date: Monday, December 30, 2019 @ 08:01:37
  Author: felixonmars
Revision: 544082

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-30 08:01:27 UTC (rev 544081)
+++ PKGBUILD	2019-12-30 08:01:37 UTC (rev 544082)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=easytest
-pkgname=haskell-easytest
-pkgver=0.2.1
-pkgrel=11
-pkgdesc="Simple, expressive testing library"
-url="https://github.com/joelburget/easytest"
-license=('MIT')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-async' 'haskell-call-stack'
-         'haskell-random')
-makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-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 \
-            -foptimized -f-quiet
-    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 $_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-easytest/repos/community-staging-x86_64/PKGBUILD (from rev 544081, haskell-easytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-30 08:01:37 UTC (rev 544082)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=easytest
+pkgname=haskell-easytest
+pkgver=0.2.1
+pkgrel=12
+pkgdesc="Simple, expressive testing library"
+url="https://github.com/joelburget/easytest"
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-call-stack'
+         'haskell-random')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('cb4604ae1311976b70047614e6c4a2fadf7085073c3add488b8b7f4001625a1159d134053289aec75eb33bb59ba1d48dc8d9b215745c88851bdbf0eb7b6ef928')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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 \
+            -foptimized -f-quiet
+    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 $_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