summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ead8e17308c..c5a726f3e89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,21 @@
# Maintainer: Benjamin Chretien <chretien at lirmm dot fr>
# Contributor: HÃ¥vard Espeland <espeland@acm.org>
pkgname=libpfm4
-pkgver=4.4.0
+pkgver=4.5.0
conflicts=('libpfm3')
-pkgrel=2
-pkgdesc="The hardware-based performance monitoring interface for Linux."
+pkgrel=1
+pkgdesc="Library to encode performance events for use by perf tool"
arch=('x86_64' 'i686')
url="http://perfmon2.sourceforge.net/"
license=('MIT')
depends=('glibc')
-source=("http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-$pkgver.tar.gz"
- 'config.mk')
-md5sums=('93b853c97a41044ef33c3071bdedb249'
- 'd648df674716271b0ce59a857e535e6e')
+source=("http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-$pkgver.tar.gz")
+md5sums=('8eda1e3741c8f3359a33ebd553243333')
build() {
cd "$srcdir/libpfm-$pkgver"
- cp "${srcdir}/config.mk" .
+ sed -i 's|PREFIX=/usr/local|PREFIX=/usr|g' config.mk
+ sed -i 's|LDCONFIG=ldconfig|LDCONFIG=true|g' config.mk
make
}
@@ -32,8 +31,6 @@ package() {
make DESTDIR="$pkgdir/" install
# Install useful example files
- # Note: this match will probably be applied for the next version
- sed -i 's/$(DOCDIR)/$(DESTDIR)$(DOCDIR)/g' perf_examples/Makefile
make DESTDIR="$pkgdir/" install_examples
# Install license