updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / modglue / PKGBUILD
blobbbb9ee00e8bf761ef2588ee8f9fd4f246b8ecbe7
1 # Contributor: Dariusz 'quasi' Panchyrz <quasi@aur.archlinux.org>
3 pkgname=modglue
4 pkgver=1.16
5 pkgrel=2
6 pkgdesc="Modglue library for Cadabra computer algebra system (CAS)"
7 arch=('i686' 'x86_64')
8 url="http://cadabra.phi-sci.com/"
9 license=('GPL')
10 depends=('conlie')
11 install=$pkgname.install
12 source=(http://cadabra.phi-sci.com/$pkgname-$pkgver.tar.gz)
13 md5sums=('2299c40f3bba37b23d5e21498eec9c66')
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
17 #  cd src
18 #  patch -i $startdir/Makefile.in.patch
19 #  cd $startdir/src/$pkgname-$pkgver
20   ./configure --prefix=$startdir/pkg/usr || return 1
21 #  cd include/modglue
22 #  patch -i $startdir/pipe.hh.patch
23 #  cd $startdir/src/$pkgname-$pkgver
24   make || return 1
25   make install || return 1
26   sed -i 's/^prefix=.*/prefix=\/usr/g' $startdir/pkg/usr/lib/pkgconfig/modglue.pc