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

Thomas Dziedzic tdziedzic at archlinux.org
Wed Feb 29 16:12:35 EST 2012


    Date: Wednesday, February 29, 2012 @ 16:12:35
  Author: tdziedzic
Revision: 151663

db-move: moved alex from [staging] to [testing] (x86_64)

Added:
  alex/repos/testing-x86_64/
  alex/repos/testing-x86_64/PKGBUILD
    (from rev 151661, alex/repos/staging-x86_64/PKGBUILD)
Deleted:
  alex/repos/staging-x86_64/

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: alex/repos/testing-x86_64/PKGBUILD (from rev 151661, alex/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-02-29 21:12:35 UTC (rev 151663)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Philip Nilsson <pnilsson at nullref.se>
+
+pkgname=alex
+pkgver=3.0.1
+pkgrel=1
+pkgdesc='a lexical analyser generator for Haskell'
+arch=('i686' 'x86_64')
+url='http://www.haskell.org/alex/'
+license=('custom:BSD3')
+depends=('gmp')
+makedepends=('ghc=7.4.1-2' 'haskell-quickcheck=2.4.2-1')
+source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('5dec239c89165d159faa2154bc0724cd')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  runghc Setup.lhs configure --prefix=/usr --datasubdir=$pkgname
+  runghc Setup.lhs build
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  runghc Setup.lhs copy --destdir=$pkgdir
+  install -D -m644 LICENSE $pkgdir/usr/share/licenses/alex/BSD3
+
+  # doc/ contains only license which already installed into proper place
+  rm -rf $pkgdir/usr/share/doc
+}



More information about the arch-commits mailing list