arch-packages/PKGBUILD

37 lines
1.2 KiB
Bash
Raw Normal View History

2017-04-07 01:56:20 +02:00
# $Id: PKGBUILD 219416 2017-03-27 19:17:50Z shibumi $
2017-03-27 21:15:49 +02:00
# Maintainer : Christian Rebischke <Chris.Rebischke@archlinux.org>
# Contributor:dront78 <dront78@gmail.com>
2015-06-10 11:05:28 +02:00
pkgname=systemtap
2017-02-18 13:51:28 +01:00
pkgver=3.1
2017-03-27 21:15:49 +02:00
pkgrel=3
2015-06-10 11:05:28 +02:00
pkgdesc="SystemTap provides free software (GPL) infrastructure to simplify the gathering of information about the running Linux system."
url="http://sourceware.org/systemtap/"
2017-03-27 21:15:49 +02:00
arch=('i686' 'x86_64')
2015-06-10 11:05:28 +02:00
license=('GPL')
2017-04-07 01:56:20 +02:00
depends=('elfutils' 'nss' 'python2')
makedepends=('python2-setuptools')
2017-01-16 07:23:11 +01:00
optdepends=('sqlite3')
2017-03-27 21:15:49 +02:00
source=("${pkgname}-${pkgver}.tar.gz::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz")
2017-04-07 01:56:20 +02:00
sha512sums=('10019b9c2d66f3f8d6e6ce3d1f3dfe99c9e5bda9f220eb2aa885643235c270c2004528cded0e94370cc0fc0c62d8fbe96cafa7609c619a8ee498335ecd0aa41d')
2017-03-27 21:15:49 +02:00
install='systemtap.install'
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/ \
--localstatedir=/var/run/"${pkgname}" \
--enable-pie \
--disable-docs
2015-06-10 11:05:28 +02:00
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}