# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # Maintainer: Future Linux Team pkgname=swig pkgver=4.3.0 pkgrel=1 pkgdesc="Generate scripting interfaces to C/C++ code" arch=('x86_64') url="http://www.swig.org/" license=( 'GPL-3.0-or-later' 'LicenseRef-BSD-Arizona' 'LicenseRef-BSD-Chicago' 'LicenseRef-BSD-Utah-California' ) depends=('gcc-libs' 'glibc' 'pcre2' 'zlib') source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) sha256sums=(f7203ef796f61af986c70c05816236cbd0d31b7aa9631e5ab53020ab7804aa9e) build() { cd ${pkgname}-${pkgver} ${CONFIGURE} \ --without-javascript \ --without-maximum-compile-warnings make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -vdm755 ${pkgdir}/usr/share/doc/${pkgname}-${pkgver} cp -v -R Doc -T ${pkgdir}/usr/share/doc/${pkgname}-${pkgver} }