From 6edeb95575e95af8f621031d5fa918e729bef98b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Wed, 24 Apr 2024 07:19:24 +0200 Subject: [PATCH] upgpkg: systemtap 5.0-2: fix conflict, add check * Fix filesystem conflict by excluding include files already provided by glibc * Add make check target --- systemtap/.SRCINFO | 2 +- systemtap/PKGBUILD | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/systemtap/.SRCINFO b/systemtap/.SRCINFO index 5e93981..2b9c955 100644 --- a/systemtap/.SRCINFO +++ b/systemtap/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = systemtap pkgdesc = Infrastructure to simplify the gathering of information about the running Linux system pkgver = 5.0 - pkgrel = 1 + pkgrel = 2 url = https://sourceware.org/systemtap/ install = systemtap.install arch = x86_64 diff --git a/systemtap/PKGBUILD b/systemtap/PKGBUILD index a899440..36a3f5e 100644 --- a/systemtap/PKGBUILD +++ b/systemtap/PKGBUILD @@ -7,7 +7,7 @@ pkgname=systemtap pkgver=5.0 -pkgrel=1 +pkgrel=2 pkgdesc="Infrastructure to simplify the gathering of information about the running Linux system" url="https://sourceware.org/systemtap/" arch=('x86_64') @@ -40,7 +40,13 @@ build() { make } +check() { + cd "${pkgname}-${pkgver}" + make check +} + package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + rm -r "${pkgdir}/usr/include/sys" }