[arch-commits] Commit in haskell-pointed/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jan 24 19:21:59 UTC 2018
Date: Wednesday, January 24, 2018 @ 19:21:58
Author: felixonmars
Revision: 286645
upgpkg: haskell-pointed 5.0.1-1
rebuild with pointed,5.0.1
Modified:
haskell-pointed/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-24 19:20:54 UTC (rev 286644)
+++ PKGBUILD 2018-01-24 19:21:58 UTC (rev 286645)
@@ -4,25 +4,21 @@
_hkgname=pointed
pkgname=haskell-pointed
-pkgver=5
-pkgrel=50
+pkgver=5.0.1
+pkgrel=1
pkgdesc="Pointed and copointed data"
url="https://github.com/ekmett/pointed/"
license=("custom:BSD3")
arch=('x86_64')
-depends=('ghc-libs' "haskell-comonad" "haskell-data-default-class" "haskell-hashable"
- "haskell-kan-extensions" "haskell-semigroupoids" "haskell-semigroups" "haskell-stm"
- "haskell-tagged" "haskell-transformers-compat" "haskell-unordered-containers")
+depends=('ghc-libs' 'haskell-comonad' 'haskell-data-default-class' 'haskell-hashable'
+ 'haskell-kan-extensions' 'haskell-semigroupoids' 'haskell-semigroups' 'haskell-stm'
+ 'haskell-tagged' 'haskell-transformers-compat' 'haskell-unordered-containers')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('940a0c30845cb39238a0056f12da4debb488bec9bfac11a384320c79102e92dbd949526188eca46a2e543dfe612f5ee335955413e4f81eb1c1c9bc321805b598')
+sha512sums=('65958628c983a2c2866b1a1a615c7a7f2f516068c667ce9b93f4214b863632b40eba4915d49e07388c52ced8868bb308b24e7b38a6f50563c68954696748c99b')
-prepare() {
- sed -i 's/data-default-class >= 0.0.1 && < 0.1/data-default-class >= 0.0.1 \&\& < 0.2/' ${_hkgname}-${pkgver}/${_hkgname}.cabal
-}
-
build() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
+ cd $_hkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
@@ -37,7 +33,7 @@
}
package() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
+ cd $_hkgname-$pkgver
install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
More information about the arch-commits
mailing list