updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / yap / PKGBUILD
blob16a3b087dfc8a707152eb3b254a89dbba2a03bd2
1 # Submitter: tcx
2 # Maintainer: Leonidas <marek@xivilization.net>
3 # Repository: https://github.com/Leonidas-from-XIV/aur-yap
4 pkgname=yap
5 pkgver=6.2.1
6 pkgrel=1
7 pkgdesc="YAP is a high-performance Prolog compiler"
8 url="http://www.dcc.fc.up.pt/~vsc/Yap/"
9 license=("PerlArtistic" "LGPL-2")
10 arch=("i686" "x86_64")
11 depends=('readline' 'gmp')
12 source=(http://www.dcc.fc.up.pt/~vsc/Yap/${pkgname}-${pkgver}.tar.gz)
14 sha256sums=('821f386ec6b94f2c10fb462a7fbab2edad968d5a8f6b26ebf17a9f3c965b7ffa')
16 build() {
17   cd $srcdir/yap-${pkgver}
18   _architecture=$(arch)
19   mkdir -p $_architecture
20   cd $_architecture
22   ../configure --prefix=$pkgdir/usr --enable-max-performance
23   make
24   make install
26   install -D -m644 ../COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"