[arch-commits] Commit in happy/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Aug 15 08:02:13 UTC 2017
Date: Tuesday, August 15, 2017 @ 08:02:12
Author: felixonmars
Revision: 250684
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
happy/repos/community-staging-i686/
happy/repos/community-staging-i686/PKGBUILD
(from rev 250683, happy/trunk/PKGBUILD)
happy/repos/community-staging-x86_64/
happy/repos/community-staging-x86_64/PKGBUILD
(from rev 250683, happy/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
Copied: happy/repos/community-staging-i686/PKGBUILD (from rev 250683, happy/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-15 08:02:12 UTC (rev 250684)
@@ -0,0 +1,32 @@
+# $Id$
+# 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=10
+pkgdesc="The Parser Generator for Haskell"
+url="https://hackage.haskell.org/package/happy"
+arch=('i686' 'x86_64')
+license=("custom:BSD3")
+depends=('ghc-libs' 'haskell-mtl')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('ffa56a1c312a60dfb1110afd25b28785')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+ --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"
+}
Copied: happy/repos/community-staging-x86_64/PKGBUILD (from rev 250683, happy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-08-15 08:02:12 UTC (rev 250684)
@@ -0,0 +1,32 @@
+# $Id$
+# 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=10
+pkgdesc="The Parser Generator for Haskell"
+url="https://hackage.haskell.org/package/happy"
+arch=('i686' 'x86_64')
+license=("custom:BSD3")
+depends=('ghc-libs' 'haskell-mtl')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('ffa56a1c312a60dfb1110afd25b28785')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+ --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