diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/algol68g/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/algol68g/PKGBUILD')
-rw-r--r-- | community/algol68g/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/algol68g/PKGBUILD b/community/algol68g/PKGBUILD new file mode 100644 index 000000000..00b2e8305 --- /dev/null +++ b/community/algol68g/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 94260 2013-07-18 11:12:21Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: karolina.lindqvist@kramnet.se + +pkgname=algol68g +pkgver=2.7 +pkgrel=1 +pkgdesc='Algol 68 Genie, an Algol 68 compiler-interpreter' +arch=('x86_64' 'i686') +url='http://www.xs4all.nl/~jmvdveer/algol.html' +license=('GPL') +depends=('gsl' 'plotutils') +optdepends=('postgresql-libs: for postgresql support') +source=("http://jmvdveer.home.xs4all.nl/algol68g-$pkgver.tar.gz" + 'plotutils.patch' + 'http://www.xs4all.nl/~jmvdveer/a68gdoc.pdf') +sha256sums=('ebcf029ae65ceafca87090cc470dd37f86ac0bdb1529cd4dd7a92454d224d325' + '50afcc7812d117e5f0a2f5240c9cd58f8bfcc04b3da0634b9aa0ab06183ed0aa' + '8cbfb480cb5dfb20f79c2391d7111fc8b727c3e9e02008ab4c0cde9acb62e7d3') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + patch -p1 -i ../plotutils.patch +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" docdir="/usr/share/doc/$pkgname" install + install "$srcdir/a68gdoc.pdf" "$pkgdir/usr/share/doc/$pkgname" +} + +# vim:set ts=2 sw=2 et: |