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 pkgbase = systemtap
pkgdesc = Infrastructure to simplify the gathering of information about the running Linux system pkgdesc = Infrastructure to simplify the gathering of information about the running Linux system
pkgver = 5.0 pkgver = 5.0
pkgrel = 1 pkgrel = 2
url = https://sourceware.org/systemtap/ url = https://sourceware.org/systemtap/
install = systemtap.install install = systemtap.install
arch = x86_64 arch = x86_64

View file

@ -7,7 +7,7 @@
pkgname=systemtap pkgname=systemtap
pkgver=5.0 pkgver=5.0
pkgrel=1 pkgrel=2
pkgdesc="Infrastructure to simplify the gathering of information about the running Linux system" pkgdesc="Infrastructure to simplify the gathering of information about the running Linux system"
url="https://sourceware.org/systemtap/" url="https://sourceware.org/systemtap/"
arch=('x86_64') arch=('x86_64')
@ -40,7 +40,13 @@ build() {
make make
} }
check() {
cd "${pkgname}-${pkgver}"
make check
}
package() { package() {
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
rm -r "${pkgdir}/usr/include/sys"
} }