[arch-commits] Commit in uusi/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Nov 14 18:56:31 UTC 2020
Date: Saturday, November 14, 2020 @ 18:56:31
Author: felixonmars
Revision: 754142
upgpkg: uusi 0.2.0.0-1
Modified:
uusi/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-14 18:53:26 UTC (rev 754141)
+++ PKGBUILD 2020-11-14 18:56:31 UTC (rev 754142)
@@ -1,20 +1,21 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=uusi
-pkgver=0.1.0.0
+pkgver=0.2.0.0
pkgrel=1
pkgdesc="Remove all version constraints of dependencies in .cabal file"
url="https://github.com/berberman/uusi"
license=("MIT")
arch=('x86_64')
-depends=('ghc-libs')
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-microlens' 'haskell-microlens-th')
+makedepends=('ghc' 'haskell-hunit')
source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('9155af204bca5b88a979a04f4612c69b657730ee2fe4b47de1c76c6ed5fa125bb9cc113c0751869f5dd90b42dca78f519c53d4beab0c1348bee8aaa1ff056350')
+sha512sums=('bd9a98856976b0364e39f2d36240551f3b04f9e881b81470ed3c60ffe0d9296728ce57e158e82eb8b88fa2624d5c8698883fee15907922e3090b27069fecbe48')
prepare() {
cd $pkgname-$pkgver
echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+ sed -i 's/<3.1/<4/' $pkgname.cabal
}
build() {
@@ -29,6 +30,11 @@
runhaskell Setup build $MAKEFLAGS
}
+check() {
+ cd $pkgname-$pkgver
+ runhaskell Setup test
+}
+
package() {
cd $pkgname-$pkgver
More information about the arch-commits
mailing list