# Description: library for Linux' syscall filtering mechanism seccomp
# URL:		     https://github.com/seccomp/libseccomp
# Maintainer:  Thomas Penteker, tek at serverop dot de 

name=libseccomp
version=2.3.3
release=1
source=(https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz)

build() {
	cd $name-$version

  ./configure --prefix=/usr

  make
	make DESTDIR=$PKG install

  mv $PKG/usr/share/man $PKG/usr
  rm -r $PKG/usr/share
}
