updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / extcalc-new / PKGBUILD
blob5df0ef5ac2f28ca09e611ffeadfed16240388f47
1 pkgname=extcalc-new
2 _realname=extcalc
3 pkgver=0.9.3
4 pkgrel=1
5 pkgdesc="A multifunctional scientific graphic calculator"
6 arch=('i686' 'x86_64')
7 url="http://extcalc-linux.sourceforge.net"
8 license=('GPL')
9 depends=('mesa' 'qt')
10 makedepends=('cmake')
11 conflicts=('extcalc')
12 provides=('extcalc')
13 source=('http://downloads.sourceforge.net/project/extcalc-linux/extcalc-linux/0.9.3/extcalc-0.9.3-1.tar.gz' 'CMakeLists.txt.patch')
15 md5sums=('efe53d36c8f1f1811ab46ed1a6e0e240'
16          '7eff890881144df22db09a750bd63198')
19 build() {
20         cd $srcdir/$_realname-$pkgver-1 || return 1
21         patch CMakeLists.txt < $srcdir/CMakeLists.txt.patch || return 1
22         cmake . || return 1
23         make || return 1
24         make DESTDIR=$pkgdir install || return 1
25