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

Felix Yan felixonmars at archlinux.org
Fri Oct 6 15:16:46 UTC 2017


    Date: Friday, October 6, 2017 @ 15:16:44
  Author: felixonmars
Revision: 261938

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 261937, alex/trunk/PKGBUILD)
  alex/repos/community-staging-x86_64/
  alex/repos/community-staging-x86_64/PKGBUILD
    (from rev 261937, alex/trunk/PKGBUILD)

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

Copied: alex/repos/community-staging-i686/PKGBUILD (from rev 261937, alex/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-10-06 15:16:44 UTC (rev 261938)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# 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.2.3
+pkgrel=2
+pkgdesc='Lexical analyser generator for Haskell'
+arch=('x86_64' 'i686')
+url='https://hackage.haskell.org/package/alex'
+license=('custom:BSD3')
+depends=('ghc-libs' 'haskell-quickcheck')
+makedepends=('happy' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('193c68b1cc21b14a1db81dfdcb1ed71d508a94ac94df1762f140768e00b316aee9f3172357fead302a150248001a95c3cb80622b12423a92a6d50e10541799d7')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  runghc Setup.lhs configure --prefix=/usr --datasubdir="$pkgname" --enable-executable-dynamic
+  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 261937, alex/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-10-06 15:16:44 UTC (rev 261938)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# 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.2.3
+pkgrel=2
+pkgdesc='Lexical analyser generator for Haskell'
+arch=('x86_64' 'i686')
+url='https://hackage.haskell.org/package/alex'
+license=('custom:BSD3')
+depends=('ghc-libs' 'haskell-quickcheck')
+makedepends=('happy' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('193c68b1cc21b14a1db81dfdcb1ed71d508a94ac94df1762f140768e00b316aee9f3172357fead302a150248001a95c3cb80622b12423a92a6d50e10541799d7')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  runghc Setup.lhs configure --prefix=/usr --datasubdir="$pkgname" --enable-executable-dynamic
+  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