Date: Tuesday, April 3, 2018 @ 06:47:24 Author: arodseth Revision: 313941
archrelease: copy trunk to community-x86_64 Added: alex/repos/community-x86_64/PKGBUILD (from rev 313940, alex/trunk/PKGBUILD) Deleted: alex/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 73 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-03 06:47:06 UTC (rev 313940) +++ PKGBUILD 2018-04-03 06:47:24 UTC (rev 313941) @@ -1,36 +0,0 @@ -# $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.3 -pkgrel=5 -pkgdesc='Lexical analyser generator for Haskell' -arch=('x86_64') -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-x86_64/PKGBUILD (from rev 313940, alex/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-03 06:47:24 UTC (rev 313941) @@ -0,0 +1,37 @@ +# $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.4 +pkgrel=1 +pkgdesc='Lexical analyser generator for Haskell' +arch=('x86_64') +url='https://hackage.haskell.org/package/alex' +license=('custom:BSD3') +depends=('haskell-quickcheck') +makedepends=('happy' 'ghc') +source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('e9e99caef4bc985aa37bd42488121f9b83c4f3026c9745ad12f50b5896e9f7c07f48a753c647c30ff16be804529d2478f8d90fa38e352f1d8861e610651c871a') + +build() { + cd "$pkgname-$pkgver" + + runghc Setup.hs configure --prefix=/usr --datasubdir="$pkgname" --enable-executable-dynamic + runghc Setup.hs build +} + +package() { + cd "$pkgname-$pkgver" + + runghc Setup.hs copy --destdir="$pkgdir" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/alex/BSD3" + + # Doc only contains the license + rm -rf "$pkgdir/usr/share/doc" +} + +# getver: hackage.haskell.org/package/alex/changelog +# vim: ts=2 sw=2 et: