updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / symbolic / PKGBUILD
blob7d8d9fe58251a96c30382aac882250ad76874b50
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
4 pkgname=symbolic
5 pkgver=0.21
6 pkgrel=1
7 pkgdesc="A library for manipulating mathematical expressions"
8 arch=('i686' 'x86_64')
9 url="http://functy.sourceforge.net/"
10 license=('MIT')
11 makedepends=('make')
12 source=(http://downloads.sourceforge.net/functy/$pkgname-$pkgver.zip)
13 md5sums=('5e24941705bc9fc879811e2e7810ccdf')
15 build() {
16   cd $pkgname-$pkgver
17   ./configure --prefix=/usr LIBS=-lm || return 1
18   make || return 1
19   make DESTDIR=$pkgdir install || return 1
20   # move license file
21   cd $pkgdir/usr/share/doc/$pkgname
22   install -m755 -d ../../licenses/$pkgname
23   mv -f COPYING ../../licenses/$pkgname/COPYING