[arch-commits] Commit in haskell-base64-bytestring/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Dec 5 08:19:04 UTC 2018
Date: Wednesday, December 5, 2018 @ 08:19:04
Author: felixonmars
Revision: 411246
upgpkg: haskell-base64-bytestring 1.0.0.2-1
rebuild with base64-bytestring 1.0.0.2
Modified:
haskell-base64-bytestring/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-05 06:06:14 UTC (rev 411245)
+++ PKGBUILD 2018-12-05 08:19:04 UTC (rev 411246)
@@ -6,22 +6,23 @@
_hkgname=base64-bytestring
pkgname=haskell-base64-bytestring
-pkgver=1.0.0.1
-pkgrel=14
+pkgver=1.0.0.2
+pkgrel=1
pkgdesc="Fast base64 encoding and decoding for ByteStrings"
url="https://github.com/bos/base64-bytestring"
-license=('custom:BSD3')
+license=('BSD')
arch=('x86_64')
depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-split' 'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2' 'haskell-test-framework-hunit')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('6936b34955b89a275f5bd71c74bbad2be6ff9e2023ac652bdbc9c5b10dd624e3862fc348849858fdb5c7b8aacc36ab4cda8bc6ea797c129b6b28d7e2e2e610e7')
+sha512sums=('8d8880cf806aa3932068e0a6faecde084829e72e73cf0a6b4eac99ae852dffbd85f968918546e18920044dd34c65b67bed1c62b6fe71f48b118bc337d86030e4')
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
@@ -30,6 +31,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