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

Felix Yan felixonmars at gemini.archlinux.org
Mon Aug 22 06:04:56 UTC 2022


    Date: Monday, August 22, 2022 @ 06:04:55
  Author: felixonmars
Revision: 1274363

upgpkg: haskell-finite-typelits 0.1.5.0-1: rebuild with finite-typelits 0.1.5.0

Modified:
  haskell-finite-typelits/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-22 06:04:39 UTC (rev 1274362)
+++ PKGBUILD	2022-08-22 06:04:55 UTC (rev 1274363)
@@ -2,22 +2,22 @@
 
 _hkgname=finite-typelits
 pkgname=haskell-finite-typelits
-pkgver=0.1.4.2
-pkgrel=2
+pkgver=0.1.5.0
+pkgrel=1
 pkgdesc="A type inhabited by finitely many values, indexed by type-level naturals."
 url="https://github.com/mniip/finite-typelits"
 license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('d207a46c911b69ecc1f7c50d9d65ea1aca6c6efacec6342bc3294ed1bc4bd747')
+sha256sums=('faa17a11c1dd69ebfc37f401025a98871bc320e6fe2cd907f76142c5654fd2f4')
 
 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 \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
     --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
     --ghc-option='-pie'
@@ -29,6 +29,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
 
@@ -37,4 +42,4 @@
   runhaskell Setup copy --destdir="$pkgdir"
   install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
   rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}
\ No newline at end of file
+}



More information about the arch-commits mailing list