[arch-commits] Commit in happy/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Oct 17 00:12:01 UTC 2017


    Date: Tuesday, October 17, 2017 @ 00:12:01
  Author: felixonmars
Revision: 263110

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  happy/repos/community-testing-i686/
  happy/repos/community-testing-i686/PKGBUILD
    (from rev 263109, happy/trunk/PKGBUILD)
  happy/repos/community-testing-x86_64/
  happy/repos/community-testing-x86_64/PKGBUILD
    (from rev 263109, happy/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: happy/repos/community-testing-i686/PKGBUILD (from rev 263109, happy/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-10-17 00:12:01 UTC (rev 263110)
@@ -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.8
+pkgrel=1
+pkgdesc="The Parser Generator for Haskell"
+url="https://hackage.haskell.org/package/happy"
+arch=('i686' 'x86_64')
+license=("custom:BSD2")
+depends=('ghc-libs' 'haskell-mtl')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('9c55ce19fbc433128550bf3736bbd886feb91512d52131d5b59c486474e223efaddc553569f96cea2275e3fe47c2042858076de9689f1a328dce0d0276bb7c8b')
+
+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"
+}

Copied: happy/repos/community-testing-x86_64/PKGBUILD (from rev 263109, happy/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-10-17 00:12:01 UTC (rev 263110)
@@ -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.8
+pkgrel=1
+pkgdesc="The Parser Generator for Haskell"
+url="https://hackage.haskell.org/package/happy"
+arch=('i686' 'x86_64')
+license=("custom:BSD2")
+depends=('ghc-libs' 'haskell-mtl')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('9c55ce19fbc433128550bf3736bbd886feb91512d52131d5b59c486474e223efaddc553569f96cea2275e3fe47c2042858076de9689f1a328dce0d0276bb7c8b')
+
+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