[arch-commits] Commit in happy/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 23 02:38:24 UTC 2019
Date: Sunday, June 23, 2019 @ 02:38:24
Author: felixonmars
Revision: 482826
archrelease: copy trunk to community-staging-x86_64
Added:
happy/repos/community-staging-x86_64/
happy/repos/community-staging-x86_64/PKGBUILD
(from rev 482825, happy/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: happy/repos/community-staging-x86_64/PKGBUILD (from rev 482825, happy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-06-23 02:38:24 UTC (rev 482826)
@@ -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.11
+pkgrel=1
+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=('6c4c528717f886db268fe586b76ade176e66137761d6fc6439569bca6c0f723a2f5ed4cd3321d9f0ea8bd65edac36d650ffc685ce3b482efe15d6c48906e2786')
+
+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