diff options
Diffstat (limited to 'main/swig')
-rw-r--r-- | main/swig/APKBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/main/swig/APKBUILD b/main/swig/APKBUILD index 9be176bf65..c2ecc1f275 100644 --- a/main/swig/APKBUILD +++ b/main/swig/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=swig -pkgver=1.3.40 -pkgrel=1 +pkgver=2.0.0 +pkgrel=0 pkgdesc="SWIG is a compiler that makes it easy to integrate C and C++ code with scripting languages" url="http://www.swig.org/" license="custom" @@ -9,12 +9,15 @@ depends="guile" makedepends="zlib-dev" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" -build () -{ +build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } -md5sums="2df766c9e03e02811b1ab4bba1c7b9cc swig-1.3.40.tar.gz" +md5sums="36ee2d9974be46a9f0a36460af928eb9 swig-2.0.0.tar.gz" |