[arch-commits] Commit in haskell-unicode-data/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Mar 20 13:25:45 UTC 2022
Date: Sunday, March 20, 2022 @ 13:25:44
Author: felixonmars
Revision: 1163600
upgpkg: haskell-unicode-data 0.3.0-1: rebuild with unicode-data 0.3.0
Modified:
haskell-unicode-data/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-20 13:24:31 UTC (rev 1163599)
+++ PKGBUILD 2022-03-20 13:25:44 UTC (rev 1163600)
@@ -2,16 +2,16 @@
_hkgname=unicode-data
pkgname=haskell-unicode-data
-pkgver=0.2.0
-pkgrel=2
+pkgver=0.3.0
+pkgrel=1
pkgdesc="Access Unicode character database"
url="https://github.com/composewell/unicode-data"
license=("Apache")
arch=('x86_64')
depends=('ghc-libs')
-makedepends=('ghc' 'uusi')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover')
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('0004ff119697e5097ab7efd3d93997b917bd43d214c59bef2361cc44fc9fc1ee')
+sha256sums=('08c79736cbcffefc120b653c37053cb9137407301a0409df3876ca07a696925f')
prepare() {
cd $_hkgname-$pkgver
@@ -34,6 +34,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