updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / cinvoke / PKGBUILD
blobec63258ff3b4a9bd8cad5d947e6a7fa00a4539c7
1 # Contributor: Alexander Fehr <pizzapunk gmail com>
3 pkgname=cinvoke
4 pkgver=1.0
5 pkgrel=2
6 pkgdesc="Library for connecting to C libraries at runtime"
7 arch=('i686' 'x86_64')
8 url="http://www.nongnu.org/cinvoke/"
9 license=('BSD')
10 makedepends=('perl')
11 source=(http://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tgz)
12 md5sums=('adf9f13908166ce2509aa687b44f06f5')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   perl configure.pl --prefix=${pkgdir}/usr
19   sed -i 's|install lib|install -m644 lib|' Makefile
21   make || return 1
22   make install || return 1
24   install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/cinvoke/LICENSE.txt || return 1