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

Felix Yan felixonmars at archlinux.org
Wed Mar 18 22:09:28 UTC 2020


    Date: Wednesday, March 18, 2020 @ 22:09:27
  Author: felixonmars
Revision: 600709

upgpkg: haskell-ixset-typed 0.5-1: rebuild with ixset-typed 0.5

Modified:
  haskell-ixset-typed/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-18 22:08:56 UTC (rev 600708)
+++ PKGBUILD	2020-03-18 22:09:27 UTC (rev 600709)
@@ -2,30 +2,23 @@
 
 _hkgname=ixset-typed
 pkgname=haskell-ixset-typed
-pkgver=0.4.0.1
-pkgrel=67
+pkgver=0.5
+pkgrel=1
 pkgdesc="Efficient relational queries on Haskell sets"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-safecopy' 'haskell-syb')
-makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
-        ghc-8.8.patch::https://github.com/well-typed/ixset-typed/pull/13.patch)
-sha512sums=('48ed1cc65b7bc3522eab71727f3e11052c29cbb1eef4f7c043fd6c3fc43547909390cb36f823e109a15a136242f3e780f66f76ede29c2a7bc39f9bdf6c51ecd6'
-            'a4eb22e9abcf6b9c5b0d82d1826d861910e19c504af8e3e1ec0ab94b8c259df851ff56dcf8a41539e2df1fa9e97cf272df65e1bca354966e55484b3043a65818')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+             'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('0f25a540835805cdea68b46de5956afa887172cf16135f7d13e1c1f59e750652defae74d3ecebdacdb606ddf3bdc515c370e0b57f7ada21e3aa3f6e1b62fe582')
 
-prepare() {
-    cd $_hkgname-$pkgver
-    # Ignore change in .travis.yml
-    patch -p1 -i ../ghc-8.8.patch || :
-}
-
 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 register --gen-script
@@ -34,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