[arch-commits] Commit in haskell-yesod-core/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 7 11:21:23 UTC 2018
Date: Thursday, June 7, 2018 @ 11:21:03
Author: felixonmars
Revision: 341751
upgpkg: haskell-yesod-core 1.6.5-21
remove obsolete semigroups dependency
Modified:
haskell-yesod-core/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-07 11:16:59 UTC (rev 341750)
+++ PKGBUILD 2018-06-07 11:21:03 UTC (rev 341751)
@@ -5,7 +5,7 @@
_hkgname=yesod-core
pkgname=haskell-yesod-core
pkgver=1.6.5
-pkgrel=20
+pkgrel=21
pkgdesc="Creation of type-safe, RESTful web applications."
url="http://www.yesodweb.com/"
license=("MIT")
@@ -23,8 +23,13 @@
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('6bf98448abe8ab9ed9f7b602bc731d7aa67a31ce0440b7e3e633c2958258d98315c33a431e08b8ba2aa3bcc9fbde1945cafa823b3201986a7d0d33c2df6fe427')
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i '/semigroups/d' $_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 +42,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