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 bce4538d21
commit 15c42590fd
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"
}