[arch-commits] Commit in cblrepo/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Aug 17 07:36:15 UTC 2017
Date: Thursday, August 17, 2017 @ 07:36:15
Author: felixonmars
Revision: 251607
upgpkg: cblrepo 0.24.0-36
GHC 8.2.1 rebuild
Modified:
cblrepo/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-17 07:34:01 UTC (rev 251606)
+++ PKGBUILD 2017-08-17 07:36:15 UTC (rev 251607)
@@ -3,26 +3,25 @@
pkgname=cblrepo
pkgver=0.24.0
-pkgrel=35
+pkgrel=36
pkgdesc="Tool to maintain a database of CABAL packages and their dependencies"
url="https://github.com/magthe/cblrepo"
license=("Apache")
arch=('i686' 'x86_64')
-depends=('ghc' "haskell-aeson" "haskell-ansi-wl-pprint" "haskell-mtl" "haskell-optparse-applicative"
+depends=('ghc-libs' "haskell-aeson" "haskell-ansi-wl-pprint" "haskell-mtl" "haskell-optparse-applicative"
"haskell-safe" "haskell-stringsearch" "haskell-tar" "haskell-text" "haskell-unixutils"
"haskell-utf8-string" "haskell-vector" "haskell-zlib")
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('03c1728d5f5ac702e334d3b7ccf0ceb42c00f93dba6cce2cdd655f5d74f4af7a')
+makedepends=('ghc')
+source=("https://github.com/MaskRay/cblrepo/archive/771cb062435b7ef5511f77187f051b1a0e908f69.tar.gz")
+sha256sums=('cc671f14ddb9cf1eea5f04be0d97fb8600da8551b56440375838079aa8bccb71')
prepare() {
- sed -e 's/aeson ==1.0.*,/aeson >=1.0,/' \
- -e 's/directory ==1.2.*,/directory >=1.2,/' \
- -i ${pkgname}-${pkgver}/${pkgname}.cabal
+ mv cblrepo-771cb062435b7ef5511f77187f051b1a0e908f69 cblrepo-$pkgver
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
+
runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic \
--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
runhaskell Setup build
More information about the arch-commits
mailing list