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

Felix Yan fyan at archlinux.org
Wed Jan 20 15:15:27 UTC 2016


    Date: Wednesday, January 20, 2016 @ 16:15:26
  Author: fyan
Revision: 158134

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

Added:
  alex/repos/community-staging-i686/
  alex/repos/community-staging-i686/PKGBUILD
    (from rev 158133, alex/trunk/PKGBUILD)
  alex/repos/community-staging-x86_64/
  alex/repos/community-staging-x86_64/PKGBUILD
    (from rev 158133, alex/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   35 +++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: alex/repos/community-staging-i686/PKGBUILD (from rev 158133, alex/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-01-20 15:15:26 UTC (rev 158134)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Philip Nilsson <pnilsson at nullref.se>
+
+pkgname=alex
+pkgver=3.1.6
+pkgrel=2
+pkgdesc='Lexical analyser generator for Haskell'
+arch=('x86_64' 'i686')
+url='http://hackage.haskell.org/package/alex'
+license=('custom:BSD3')
+depends=('gmp' 'libffi')
+makedepends=('ghc=7.10.3' 'haskell-quickcheck' 'happy' 'libffi')
+source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('2858e6784b60b4cd3e5d7b514ca15663a363c4ca2e44e019b73064168afdfe2f')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  runghc Setup.lhs configure --prefix=/usr --datasubdir="$pkgname"
+  runghc Setup.lhs build
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  runghc Setup.lhs copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/alex/BSD3"
+  # Doc only contains the license
+  rm -rf $pkgdir/usr/share/doc
+}
+
+# vim:set ts=2 sw=2 et:

Copied: alex/repos/community-staging-x86_64/PKGBUILD (from rev 158133, alex/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-01-20 15:15:26 UTC (rev 158134)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Philip Nilsson <pnilsson at nullref.se>
+
+pkgname=alex
+pkgver=3.1.6
+pkgrel=2
+pkgdesc='Lexical analyser generator for Haskell'
+arch=('x86_64' 'i686')
+url='http://hackage.haskell.org/package/alex'
+license=('custom:BSD3')
+depends=('gmp' 'libffi')
+makedepends=('ghc=7.10.3' 'haskell-quickcheck' 'happy' 'libffi')
+source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('2858e6784b60b4cd3e5d7b514ca15663a363c4ca2e44e019b73064168afdfe2f')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  runghc Setup.lhs configure --prefix=/usr --datasubdir="$pkgname"
+  runghc Setup.lhs build
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  runghc Setup.lhs copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/alex/BSD3"
+  # Doc only contains the license
+  rm -rf $pkgdir/usr/share/doc
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list