Date: Thursday, April 6, 2017 @ 15:37:38 Author: felixonmars Revision: 221062
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 221061, alex/trunk/PKGBUILD) alex/repos/community-staging-x86_64/ alex/repos/community-staging-x86_64/PKGBUILD (from rev 221061, 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 221061, alex/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-04-06 15:37:38 UTC (rev 221062) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Vesa Kaihlavirta <ve...@iki.fi> +# Contributor: Philip Nilsson <pnils...@nullref.se> + +pkgname=alex +pkgver=3.2.1 +pkgrel=3 +pkgdesc='Lexical analyser generator for Haskell' +arch=('x86_64' 'i686') +url='https://hackage.haskell.org/package/alex' +license=('custom:BSD3') +depends=('gmp' 'libffi') +makedepends=('ghc=8.0.1' 'haskell-quickcheck' 'happy' 'libffi') +source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('a4e7f7ec729f4fae5a5c778bc48421a90acf65c7278f6970cf123fb3b6230e6c') + +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 221061, alex/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-04-06 15:37:38 UTC (rev 221062) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Vesa Kaihlavirta <ve...@iki.fi> +# Contributor: Philip Nilsson <pnils...@nullref.se> + +pkgname=alex +pkgver=3.2.1 +pkgrel=3 +pkgdesc='Lexical analyser generator for Haskell' +arch=('x86_64' 'i686') +url='https://hackage.haskell.org/package/alex' +license=('custom:BSD3') +depends=('gmp' 'libffi') +makedepends=('ghc=8.0.1' 'haskell-quickcheck' 'happy' 'libffi') +source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('a4e7f7ec729f4fae5a5c778bc48421a90acf65c7278f6970cf123fb3b6230e6c') + +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: