David Runge pushed to branch main at Arch Linux / Packaging / Packages / swig
Commits: fd70b55e by David Runge at 2024-04-04T11:15:32+02:00 Add nvchecker integration Signed-off-by: David Runge <[email protected]> - - - - - 59d2c0d7 by David Runge at 2024-04-04T11:38:06+02:00 Be more specific about SPDX license identifiers Split out specific license files and add SPDX license identifiers. Signed-off-by: David Runge <[email protected]> - - - - - bcce710e by David Runge at 2024-04-04T11:53:17+02:00 Switch to upstream provided auto-generated source tarballs There is no reason for us to trust in manually created source tarballs for an autotools setup, as we can just create required files using autogen.sh. Signed-off-by: David Runge <[email protected]> - - - - - 2 changed files: - + .nvchecker.toml - PKGBUILD Changes: ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,4 @@ +[swig] +source = "git" +git = "https://github.com/swig/swig" +prefix = "v" ===================================== PKGBUILD ===================================== @@ -8,11 +8,25 @@ pkgrel=2 pkgdesc="Generate scripting interfaces to C/C++ code" arch=('x86_64') url="http://www.swig.org/" -license=('custom') +license=( + GPL-3.0-or-later + LicenseRef-BSD-Arizona + LicenseRef-BSD-Chicago + LicenseRef-BSD-Utah-California +) depends=('pcre2' 'gcc-libs') checkdepends=('ruby' 'python' 'java-environment' 'tcl' 'php' 'lua' 'r' 'go' 'boost') -source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('1cea1918455a75ebc9b2653dd1715bd5dcd974554955f324295c6a6f14c0a715651b221b85fad4a8af5197e0c75bfe7b590bc6ba7178c26245fbbd9a7e110100') +source=($pkgname-$pkgver.tar.gz::https://github.com/swig/swig/archive/refs/tags/v$pkgver.tar.gz) +sha512sums=('26589a3b1af76db1e9e540760b0baeeff5ddf83e06075716eab1c46c0b49c768b951d9cda8a2061126ebbbeedf194d7724701ee76b4ef1b55073a89b1e60b1b4') + +prepare() { + sed -n '5,32p' $pkgname-$pkgver/LICENSE-UNIVERSITIES > LicenseRef-BSD-Utah-California.txt + sed -n '37,64p' $pkgname-$pkgver/LICENSE-UNIVERSITIES > LicenseRef-BSD-Chicago.txt + sed -n '69,94p' $pkgname-$pkgver/LICENSE-UNIVERSITIES > LicenseRef-BSD-Arizona.txt + + cd $pkgname-$pkgver + ./autogen.sh +} build() { cd ${pkgname}-${pkgver} @@ -29,5 +43,5 @@ package() { cd ${pkgname}-${pkgver} 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 + install -D -m644 ../*.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/ } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/swig/-/compare/e17477db3d94e68ecb9ed71a495b71f8672945d0...bcce710ec585a05e1c2a5281c4cb122b57dbde4d -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/swig/-/compare/e17477db3d94e68ecb9ed71a495b71f8672945d0...bcce710ec585a05e1c2a5281c4cb122b57dbde4d You're receiving this email because of your account on gitlab.archlinux.org.
