Date: Friday, September 16, 2016 @ 12:32:38 Author: felixonmars Revision: 189629
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 189628, alex/trunk/PKGBUILD) alex/repos/community-staging-x86_64/ alex/repos/community-staging-x86_64/PKGBUILD (from rev 189628, 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 189628, alex/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-09-16 12:32:38 UTC (rev 189629) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Vesa Kaihlavirta <ve...@iki.fi> +# Contributor: Philip Nilsson <pnils...@nullref.se> + +pkgname=alex +pkgver=3.1.7 +pkgrel=4 +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=8.0.1' 'haskell-quickcheck' 'happy' 'libffi') +source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('89a1a13da6ccbeb006488d9574382e891cf7c0567752b330cc8616d748bf28d1') + +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 189628, alex/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-09-16 12:32:38 UTC (rev 189629) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Vesa Kaihlavirta <ve...@iki.fi> +# Contributor: Philip Nilsson <pnils...@nullref.se> + +pkgname=alex +pkgver=3.1.7 +pkgrel=4 +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=8.0.1' 'haskell-quickcheck' 'happy' 'libffi') +source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('89a1a13da6ccbeb006488d9574382e891cf7c0567752b330cc8616d748bf28d1') + +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: