updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sowing / PKGBUILD
blob192e4523c20fa2f2b8286f0ed468ccb18eafdc27
1 # Contributor: Jed Brown <jed@59A2.org>
2 pkgname=sowing
3 pkgver=1.1.16
4 pkgrel=2
5 pkgdesc="Tools for documenting and improving portability"
6 arch=(x86_64 i686)
7 url="http://mcs.anl.gov/~gropp/projects/software/sowing"
8 license=('GPL')
9 groups=()
10 depends=()
11 makedepends=()
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 source=(ftp://ftp.mcs.anl.gov/pub/sowing/$pkgname-$pkgver.tar.gz)
18 md5sums=('2301f1446baa090aff2741459962a920')
20 build() {
21   find ${pkgname}-${pkgver} -type f -exec sed -i 's,PetscTruth,PetscBool,g' '{}' \+
22   mkdir -p "${srcdir}/build"
23   cd "${srcdir}/build"
25   ../${pkgname}-${pkgver}/configure --prefix=/usr --datadir=/usr/share/sowing
26   make || return 1
27   make prefix="${pkgdir}/usr" datadir="${pkgdir}/usr/share/sowing" install || return 1