Date: Sunday, August 21, 2022 @ 15:45:37
  Author: felixonmars
Revision: 1272643

upgpkg: haskell-src-exts-simple 1.23.0.0-2: rebuild with split 0.2.3.5

Modified:
  haskell-src-exts-simple/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-08-21 15:45:28 UTC (rev 1272642)
+++ PKGBUILD    2022-08-21 15:45:37 UTC (rev 1272643)
@@ -1,9 +1,8 @@
 # Maintainer: Felix Yan <[email protected]>
 
-_hkgname=haskell-src-exts-simple
 pkgname=haskell-src-exts-simple
 pkgver=1.23.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A simplified view on the haskell-src-exts AST"
 url="https://github.com/int-e/haskell-src-exts-simple";
 license=("MIT")
@@ -10,19 +9,19 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-src-exts')
 makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
 sha256sums=('f57029fa5b81ddd604027e909739dc85c3bf819592dc1c95d3a9cb3aa392cdc9')
 
 build() {
-  cd $_hkgname-$pkgver
+  cd $pkgname-$pkgver
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
     --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
     --ghc-option='-pie' 
 
-  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
@@ -30,12 +29,12 @@
 }
 
 check() {
-  cd $_hkgname-$pkgver
-  runhaskell Setup test
+  cd $pkgname-$pkgver
+  runhaskell Setup test --show-details=direct
 }
 
 package() {
-  cd $_hkgname-$pkgver
+  cd $pkgname-$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

Reply via email to