Date: Monday, March 30, 2015 @ 14:14:36 Author: spupykin Revision: 130276
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 130275, alex/trunk/PKGBUILD) alex/repos/community-staging-x86_64/ alex/repos/community-staging-x86_64/PKGBUILD (from rev 130275, 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 130275, alex/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-03-30 12:14:36 UTC (rev 130276) @@ -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.4 +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=7.10.1' 'haskell-quickcheck' 'happy' 'libffi') +source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('d64e4eccd953c62795ed566a6de5f3d150b653e05872ff697b3d9dbc961da19f') + +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 130275, alex/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-03-30 12:14:36 UTC (rev 130276) @@ -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.4 +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=7.10.1' 'haskell-quickcheck' 'happy' 'libffi') +source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('d64e4eccd953c62795ed566a6de5f3d150b653e05872ff697b3d9dbc961da19f') + +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: