[arch-commits] Commit in libseccomp/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sat Mar 16 00:03:49 UTC 2019
Date: Saturday, March 16, 2019 @ 00:03:47
Author: anthraxx
Revision: 348437
upgpkg: libseccomp 2.4.0-1
Modified:
libseccomp/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-15 23:03:24 UTC (rev 348436)
+++ PKGBUILD 2019-03-16 00:03:47 UTC (rev 348437)
@@ -1,8 +1,10 @@
-# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
pkgname=libseccomp
-pkgver=2.3.3
+pkgver=2.4.0
pkgrel=1
pkgdesc='Enhanced seccomp library'
arch=('x86_64')
@@ -9,18 +11,28 @@
license=('LGPL2.1')
url="https://github.com/seccomp/libseccomp"
depends=('glibc')
+checkdepends=('valgrind')
+provides=('libseccomp.so')
+source=(https://github.com/seccomp/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
+sha256sums=('2e74c7e8b54b340ad5d472e59286c6758e1e1e96c6b43c3dbdc8ddafbf0e525d'
+ 'SKIP')
validpgpkeys=('7100AADFAE6E6E940D2E0AD655E45A5AE8CA7C8A') # Paul Moore <paul at paul-moore.com>
-source=("https://github.com/seccomp/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
-sha256sums=('7fc28f4294cc72e61c529bedf97e705c3acf9c479a8f1a3028d4cd2ca9f3b155'
- 'SKIP')
build() {
- cd $pkgname-$pkgver
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 CHANGELOG README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list