# 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=libseccomp pkgver=2.5.5 pkgrel=1 pkgdesc="Enhanced seccomp library" arch=('x86_64') url="https://github.com/seccomp/libseccomp" license=('LGPL2.1') depends=('glibc') makedepends=('gperf') source=(https://github.com/seccomp/libseccomp/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(248a2c8a4d9b9858aa6baf52712c34afefcf9c9e94b76dce02c1c9aa25fb3375) prepare() { cd ${pkgname}-${pkgver} autoreconf -fiv } build() { cd ${pkgname}-${pkgver} ${CONFIGURE} --disable-static make } package_libseccomp() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }