diff options
author | Chocobo1 | 2018-06-22 17:48:58 +0800 |
---|---|---|
committer | Chocobo1 | 2018-06-22 17:49:57 +0800 |
commit | 54b8067c056921287d18300d4c031b79694a8915 (patch) | |
tree | 398954a8f7ee5e83ff394bbc86cbbe98040b1a4d | |
parent | 0c03037a7da040f5a020c6fa7fbd893bcb9747a6 (diff) | |
download | aur-54b8067c056921287d18300d4c031b79694a8915.tar.gz |
upgpkg: libseccomp-git 2.2.0.r223.g8ad3638-1
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 48 |
2 files changed, 30 insertions, 29 deletions
@@ -1,17 +1,18 @@ pkgbase = libseccomp-git - pkgdesc = Enhanced seccomp library - pkgver = 2.2.0.r179.g9e61fd7 + pkgdesc = Interface to the Linux Kernel's syscall filtering mechanism + pkgver = 2.2.0.r223.g8ad3638 pkgrel = 1 url = https://github.com/seccomp/libseccomp arch = i686 arch = x86_64 - license = LGPL2.1 + license = LGPL makedepends = git depends = glibc provides = libseccomp conflicts = libseccomp - source = git+https://github.com/seccomp/libseccomp - md5sums = SKIP + options = staticlibs + source = git+https://github.com/seccomp/libseccomp.git + sha256sums = SKIP pkgname = libseccomp-git @@ -1,45 +1,45 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> # Contributor: Lex Black <autumn-wind at web dot de> # Contributor: Daniel Micay <danielmicay@gmail.com> pkgname=libseccomp-git -_pkgname=libseccomp -pkgver=2.2.0.r179.g9e61fd7 +pkgver=2.2.0.r223.g8ad3638 pkgrel=1 -pkgdesc='Enhanced seccomp library' -url=https://github.com/seccomp/libseccomp +pkgdesc="Interface to the Linux Kernel's syscall filtering mechanism" arch=('i686' 'x86_64') -license=('LGPL2.1') +url="https://github.com/seccomp/libseccomp" +license=('LGPL') depends=('glibc') makedepends=('git') -provides=(libseccomp) -conflicts=(libseccomp) -source=(git+https://github.com/seccomp/libseccomp) -md5sums=('SKIP') +provides=('libseccomp') +conflicts=('libseccomp') +options=('staticlibs') +source=("git+https://github.com/seccomp/libseccomp.git") +sha256sums=('SKIP') + pkgver() { - cd $_pkgname - git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' + cd "libseccomp" + + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } -prepare() { - cd $_pkgname +build() { + cd "libseccomp" + ./autogen.sh + ./configure --prefix="/usr" + make } -build() { - cd $_pkgname +check() { + cd "libseccomp" - ./configure --prefix=/usr - make + #make check } package() { - cd $_pkgname - make DESTDIR="$pkgdir" install + cd "libseccomp" - #mkdir -m 0755 -p "$pkgdir/usr/share/doc/$_pkgname" - - #find . -maxdepth 1 -type f | grep -v "[a-z]" | while read somefile; do - #install "$somefile" "$pkgdir/usr/share/doc/$_pkgname" - #done + make DESTDIR="$pkgdir" install } |