PKGBUILDs/extra/asymptote/PKGBUILD
2009-10-18 22:17:58 -05:00

26 lines
820 B
Bash

# Maintainer: Firmicus <francois.archlinux.org>
# Contributor: bender02 at gmx dot com
pkgname=asymptote
pkgver=1.86
pkgrel=1
pkgdesc="A vector graphics language (like metapost)"
arch=('arm')
url="http://asymptote.sourceforge.net/"
license=("GPL3")
depends=('texlive-core' 'gc' 'freeglut' 'gsl' 'fftw')
optdepends=('python: for the xasy GUI'
'pil: "'
'tix: "')
install="texlive.install"
source=(http://downloads.sourceforge.net/sourceforge/asymptote/$pkgname-$pkgver.src.tgz)
md5sums=('0dc9c827a5e6f3577b5bc5966cb90ca8')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --enable-gc=/usr --prefix=/usr \
--with-latex=/usr/share/texmf/tex/latex \
--with-context=/usr/share/texmf/tex/context || return 1
make asy || return 1
make DESTDIR=$pkgdir install-asy || return 1
}