diff options
Diffstat (limited to 'main/swig/APKBUILD')
-rw-r--r-- | main/swig/APKBUILD | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/main/swig/APKBUILD b/main/swig/APKBUILD index 41c29f78c63..36d715e9fe1 100644 --- a/main/swig/APKBUILD +++ b/main/swig/APKBUILD @@ -1,21 +1,20 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=swig -pkgver=3.0.12 -pkgrel=4 +pkgver=4.2.1 +pkgrel=0 pkgdesc="A compiler that makes it easy to integrate C and C++ code with scripting languages" -url="http://www.swig.org/" +url="https://www.swig.org/" arch="all" -license="GPL-3.0 BSD" +license="GPL-3.0-only" depends="guile" -makedepends="zlib-dev pcre-dev bison" +makedepends="zlib-dev pcre2-dev bison" checkdepends="boost-dev perl-dev python3-dev diffutils" subpackages="$pkgname-doc" -source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz - swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch +source="https://downloads.sourceforge.net/swig/swig-$pkgver.tar.gz + fix-test-sed-PATH.patch " build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -25,16 +24,20 @@ build() { } check() { - cd "$builddir" - env PERL5LIB=. make check + ( + # ccache test seems broken with ccache in the path.. + export PATH="/usr/bin:/bin:/usr/sbin:/sbin" + make -C CCache check + ) } package() { - cd "$builddir" make DESTDIR="$pkgdir" install install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE install -D -m644 LICENSE-UNIVERSITIES "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-UNIVERSITIES } -sha512sums="5eaa2e06d8e4197fd02194051db1e518325dbb074a4c55a91099ad9c55193874f577764afc9029409a41bd520a95154095f26e33ef5add5c102bb2c1d98d33eb swig-3.0.12.tar.gz -0cde94a04a3f914f6e1ac79866d199981600c0f4be18b52d08194de96d524027c6572eacd5c1e155a9007fc34ed9dece27dbcb974874de072fb42bf564978cd0 swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch" +sha512sums=" +019dee5a46d57e1030eef47cd5d007ccaadbdcd4e53cd30d7c795f0118ecf4406a78185534502c81c5f6d7bac0713256e7e19b20b5a2d14e2c552219edbaf5cf swig-4.2.1.tar.gz +62d6eecba01abe8ddd5a3b8a5512b57e63182b49d957bb81903c29dfccfaa62e75555dabc2c7b163afb8432328dd10e23bec0e3bf1d1d7622ec1119f5dab0a64 fix-test-sed-PATH.patch +" |