upgpkg: systemtap 5.0-2: fix conflict, add check

* Fix filesystem conflict by excluding include files already provided by glibc
* Add make check target
This commit is contained in:
Manuel 2024-04-24 07:19:24 +02:00
parent 6405619721
commit 6edeb95575
Signed by: SunRed
GPG Key ID: 4085037435E1F07A
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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"
}