[arch-commits] Commit in haskell-data-accessor-template/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jul 2 05:24:34 UTC 2016
Date: Saturday, July 2, 2016 @ 05:24:34
Author: felixonmars
Revision: 181777
upgpkg: haskell-data-accessor-template 0.2.1.13-1
rebuild with Glob-0.7.8, JuicyPixels-3.2.7.2, aeson-pretty-0.8.1, data-accessor-template-0.2.1.13, http-client-0.4.30, http-conduit-2.1.11
Modified:
haskell-data-accessor-template/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-02 05:17:29 UTC (rev 181776)
+++ PKGBUILD 2016-07-02 05:24:34 UTC (rev 181777)
@@ -4,8 +4,8 @@
_hkgname=data-accessor-template
pkgname=haskell-data-accessor-template
-pkgver=0.2.1.12
-pkgrel=2
+pkgver=0.2.1.13
+pkgrel=1
pkgdesc="Automate generation of Accessor's of the data-accessor package by Template Haskell functions."
url="http://www.haskell.org/haskellwiki/Record_access"
license=("custom:BSD3")
@@ -12,15 +12,8 @@
arch=('i686' 'x86_64')
depends=("ghc=8.0.1" "haskell-data-accessor" "haskell-utility-ht")
source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('07042d79a2f26892ef0b847a36a78f8fc217843a47dd8684d24ffbb7174e795e')
+sha256sums=('ea947385d3619cecf628221316bd5b441889f548b999b017b353581a1e7a3958')
-prepare() {
- sed -i 's/template-haskell >=2.4 && <2.11/template-haskell >=2.4 \&\& <2.12/' ${_hkgname}-${pkgver}/${_hkgname}.cabal
- sed -e 's/DataD _ _ params cons/DataD _ _ params Nothing cons/' \
- -e 's/NewtypeD _ _ params con/NewtypeD _ _ params Nothing con/' \
- -i ${_hkgname}-${pkgver}/src-5/Data/Accessor/Template.hs
-}
-
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
More information about the arch-commits
mailing list