updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / afnix / PKGBUILD
blob5cd5be3bba667d627600968c9bddfdc403516504
1 # Contributor: Roberto Alsina <ralsina@kde.org>
2 pkgname=afnix
3 pkgver=1.6.0
4 pkgrel=3
5 pkgdesc="A multi-threaded functional programming language"
6 arch=('i686')
7 url="http://www.afnix.org"
8 license=('custom')
9 depends=(ncurses gcc-libs)
10 source=(http://www.afnix.org/ftp/afnix-1-6-0/afnix-src-1-6-0.tgz COPYING)
11 md5sums=('4cd87bab48e7849d1d8e3d69d125d227' '3c39957915b1a369338c8efd9019c80d')
13 build() {
14   cd $startdir/src/afnix-src-1-6-0
15   ./cnf/bin/afnix-setup -o --prefix=$startdir/pkg/usr || exit 1
16   make status || exit 1
17   make || exit 1
18   make ETCDIR=$startdir/pkg/etc/afnix install || exit 1
19   cd $startdir/src/afnix-src-1-6-0/doc
20   make || exit 1
21   install -d  $startdir/pkg/usr/man/man7
22   install xml/vol/vol-?/*.7 -t $startdir/pkg/usr/man/man7
23   cd $startdir/src
24   install -D COPYING $startdir/pkg/usr/share/licenses/afnix/COPYING