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: Manuel
GPG key ID: 4085037435E1F07A
2 changed files with 8 additions and 2 deletions

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