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

Felix Yan felixonmars at gemini.archlinux.org
Fri Aug 26 05:57:52 UTC 2022


    Date: Friday, August 26, 2022 @ 05:57:52
  Author: felixonmars
Revision: 1280741

upgpkg: haskell-dec 0.0.5-1: rebuild with dec 0.0.5

Modified:
  haskell-dec/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-26 05:56:17 UTC (rev 1280740)
+++ PKGBUILD	2022-08-26 05:57:52 UTC (rev 1280741)
@@ -2,16 +2,16 @@
 
 _hkgname=dec
 pkgname=haskell-dec
-pkgver=0.0.4
-pkgrel=4
+pkgver=0.0.5
+pkgrel=1
 pkgdesc="Decidable propositions"
 url="https://github.com/phadej/dec"
 license=('BSD')
 arch=('x86_64')
-depends=('ghc-libs')
+depends=('ghc-libs' 'haskell-boring')
 makedepends=('ghc' 'uusi')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('e43497edb8fdadbc16da77b06fe5cf75ea609de9d38402b277953e1f82ec3d80da65d223c1ca1780a53b36c0257c613377ca4b7f7b80fc1893c12a2a69fb6800')
+sha512sums=('895085bb95bd8cec482f771d37f75221c12b50326bfeadeb6466d365c69756fef2faffcb557e0fee3861ec5318d8d27ad140ef6296217a80dda9a121f1be931a')
 
 prepare() {
     cd $_hkgname-$pkgver
@@ -22,7 +22,7 @@
     cd $_hkgname-$pkgver    
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
     runhaskell Setup build $MAKEFLAGS
     runhaskell Setup register --gen-script
@@ -31,6 +31,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test --show-details=direct
+}
+
 package() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list