upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / algol68g / trunk / PKGBUILD
blobe38c4ea452dd4041e776cf8fc58b7277f78ebcd9
1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2 # Contributor: Karolina Lindqvist <karolina.lindqvist@kramnet.se>
4 pkgname=(algol68g algol68g-doc)
5 pkgver=3.1.9
6 pkgrel=2
7 pkgdesc='Algol 68 compiler and interpreter'
8 arch=(x86_64)
9 url='https://jmvdveer.home.xs4all.nl/algol.html'
10 license=(GPL)
11 depends=(gsl mpfr plotutils)
12 optdepends=('postgresql-libs: for postgresql support')
13 source=("https://jmvdveer.home.xs4all.nl/algol68g-$pkgver.tar.gz"
14         'https://ftp.tw.freebsd.org/distfiles/a68g-doc.pdf')
15 b2sums=('a29010db264c012720c9db97c089311c4400ea88cdabc8cfa9e1345d2e401a50a80511ba88a7a8dbb118a99699cba412e291e59b46c150e4ffc6dc5de0733770'
16         'f8ca710d9a4f611873de41785e70359bd566645268ebb848803d3cd2e9a9f873f8ac423e3e08699998083444b7f6d98df32fdb7a4c6b36692462ee50ddb1e410')
18 build() {
19   cd $pkgname-$pkgver
20   ./configure --prefix=/usr
21   make
24 package_algol68g() {
25   make -C $pkgname-$pkgver \
26     DESTDIR="$pkgdir" \
27     docdir=/usr/share/doc/$pkgname \
28     install
31 package_algol68g-doc() {
32   install -Dm644 a68g-doc.pdf \
33     "$pkgdir/usr/share/doc/algol68g/learning_algol.pdf"