1 # Contributor: Dariusz 'quasi' Panchyrz <quasi@aur.archlinux.org>
6 pkgdesc="Modglue library for Cadabra computer algebra system (CAS)"
8 url="http://cadabra.phi-sci.com/"
11 install=$pkgname.install
12 source=(http://cadabra.phi-sci.com/$pkgname-$pkgver.tar.gz)
13 md5sums=('2299c40f3bba37b23d5e21498eec9c66')
16 cd $startdir/src/$pkgname-$pkgver
18 # patch -i $startdir/Makefile.in.patch
19 # cd $startdir/src/$pkgname-$pkgver
20 ./configure --prefix=$startdir/pkg/usr || return 1
22 # patch -i $startdir/pipe.hh.patch
23 # cd $startdir/src/$pkgname-$pkgver
25 make install || return 1
26 sed -i 's/^prefix=.*/prefix=\/usr/g' $startdir/pkg/usr/lib/pkgconfig/modglue.pc