[arch-commits] Commit in happy/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri May 10 14:43:23 UTC 2019
Date: Friday, May 10, 2019 @ 14:43:21
Author: felixonmars
Revision: 464831
archrelease: copy trunk to community-staging-x86_64
Added:
happy/repos/community-staging-x86_64/
happy/repos/community-staging-x86_64/PKGBUILD
(from rev 464830, happy/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: happy/repos/community-staging-x86_64/PKGBUILD (from rev 464830, happy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-10 14:43:21 UTC (rev 464831)
@@ -0,0 +1,31 @@
+# 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.9
+pkgrel=10
+pkgdesc="The Parser Generator for Haskell"
+url="https://hackage.haskell.org/package/happy"
+arch=('x86_64')
+license=("custom:BSD2")
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('dbaa27a874454d74d2cd88427ce6338ea6b465cc5bf55cb2699491d907bd9ddf7f4871ef1f8a5f10705ecacec581c23c328935962ea388e62a256a1e90c7d1f7')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --ghc-option='-dynload=deploy' --prefix=/usr --datasubdir="$pkgname"
+ runhaskell Setup build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ 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