arch-packages/PKGBUILD

45 lines
1.4 KiB
Text
Raw Normal View History

2018-09-03 12:27:33 +02:00
# Maintainer : George Angelopoulos <george@usermod.net>
# Contributor : Christian Rebischke <Chris.Rebischke@archlinux.org>
# Contributor : dront78 <dront78@gmail.com>
2015-06-10 11:05:28 +02:00
pkgname=systemtap
2018-08-20 11:45:16 +02:00
pkgver=3.3
pkgrel=1
2018-02-14 12:31:23 +01:00
pkgdesc="provides infrastructure to simplify the gathering of information about the running system."
2015-06-10 11:05:28 +02:00
url="http://sourceware.org/systemtap/"
2018-02-14 12:31:23 +01:00
arch=('x86_64' 'i686')
2015-06-10 11:05:28 +02:00
license=('GPL')
depends=('elfutils' 'nss' 'python2')
makedepends=('python2-setuptools' 'xmlto')
2018-02-14 12:31:23 +01:00
optdepends=('sqlite3: for storing results in a database')
source=("${pkgname}-${pkgver}.tar.gz::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz"
"${pkgname}-${pkgver}.tar.gz.asc::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz.asc"
2018-06-03 19:06:43 +02:00
)
2018-08-20 11:45:16 +02:00
sha512sums=('b75a4591bdc021645c15cb8f2b8991f46fdffb29b1d132745bafe4291aee5e1892ea9a63c8e98f011a4fee68decd99aa4401dc2f70e163e801cd140ad4cd6b6e'
'SKIP')
2017-03-27 21:15:49 +02:00
install='systemtap.install'
2018-08-20 11:45:16 +02:00
validpgpkeys=('41A0C11274B1E87FE28E4C53E3D77E1F95161991')
2015-06-10 11:05:28 +02:00
build() {
2017-04-07 01:56:20 +02:00
cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/"${pkgname}" \
--libdir=/usr/lib/"${pkgname}" \
--mandir=/usr/share/man/ \
2018-02-14 12:31:23 +01:00
--localstatedir=/var \
2017-04-07 01:56:20 +02:00
--enable-pie \
2018-02-14 12:31:23 +01:00
--disable-docs \
--enable-htmldocs
2015-06-10 11:05:28 +02:00
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2018-02-14 12:31:23 +01:00
rmdir "${pkgdir}/var/run/stap-server/"
rmdir "${pkgdir}/var/run/"
2015-06-10 11:05:28 +02:00
}