[arch-commits] Commit in haskell-filelock/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Jul 14 18:29:17 UTC 2020


    Date: Tuesday, July 14, 2020 @ 18:29:17
  Author: felixonmars
Revision: 663768

upgpkg: haskell-filelock 0.1.1.5-1: rebuild with filelock 0.1.1.5

Modified:
  haskell-filelock/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-14 15:54:29 UTC (rev 663767)
+++ PKGBUILD	2020-07-14 18:29:17 UTC (rev 663768)
@@ -3,24 +3,24 @@
 
 _hkgname=filelock
 pkgname=haskell-filelock
-pkgver=0.1.1.4
-pkgrel=5
+pkgver=0.1.1.5
+pkgrel=1
 pkgdesc="Portable interface to file locking (flock / LockFileEx)"
 url="https://github.com/takano-akio/filelock"
 license=("custom:PublicDomain")
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-async')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('ff1d87f6c8bb7dc63b63b7d85dfc007285a74fa47b4bcbaa8783a05482a0a8964ab631fdda5bb177eeed1a89f9687eb19014bc7ef20e99f1daf227e1061152ed')
+sha512sums=('6ccd0b671cec8d1c2daa3115a5b2d8cd10a31db0a1dc1c15e6cb80d679bd2e09208be8bebc0f4bb64d7cdd0fad2e7e170e8283b6be61edd5017b788f94a41048')
 
 build() {
     cd $_hkgname-$pkgver
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-    runhaskell Setup build
+    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
@@ -27,6 +27,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
 package() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list