[arch-commits] Commit in happy/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Dec 25 06:25:49 UTC 2015
Date: Friday, December 25, 2015 @ 07:25:49
Author: fyan
Revision: 154475
upgpkg: happy 1.19.5-5
clean up the package
Modified:
happy/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-12-25 06:19:25 UTC (rev 154474)
+++ PKGBUILD 2015-12-25 06:25:49 UTC (rev 154475)
@@ -1,17 +1,18 @@
# $Id$
-# Maintainer: Thomas Dziedzic <gostrc at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
# Contributor: simo <simo at archlinux.org>
# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
pkgname=happy
pkgver=1.19.5
-pkgrel=4
+pkgrel=5
pkgdesc="The Parser Generator for Haskell"
url="http://hackage.haskell.org/package/happy"
arch=('i686' 'x86_64')
license=("custom:BSD3")
depends=('gmp' 'libffi')
-makedepends=('ghc=7.10.3' 'haskell-mtl=2.2.1')
+makedepends=('ghc=7.10.3' 'haskell-mtl')
source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('ffa56a1c312a60dfb1110afd25b28785')
@@ -18,12 +19,13 @@
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- runhaskell Setup.lhs configure -O --prefix=/usr
- runhaskell Setup.lhs build
+ runhaskell Setup configure -O --prefix=/usr --datasubdir="$pkgname"
+ runhaskell Setup build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- runhaskell Setup.lhs copy --destdir="${pkgdir}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ rm -r "$pkgdir/usr/share/doc"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list