diff options
author | Benjamin Chrétien | 2013-12-13 18:52:53 +0100 |
---|---|---|
committer | Benjamin Chrétien | 2013-12-13 18:52:53 +0100 |
commit | 06fb0daf51c9aeb1031c5adacf1e0448310a4a56 (patch) | |
tree | a7a8ea5b6e3104b20bc666abebb30fbe3c3ba170 | |
parent | a70626fb78d8944fa6ce9664b35cdfa841e58c68 (diff) | |
download | aur-06fb0daf51c9aeb1031c5adacf1e0448310a4a56.tar.gz |
Update libpfm4
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = libpfm4 pkgdesc = The hardware-based performance monitoring interface for Linux. pkgver = 4.4.0 - pkgrel = 1 + pkgrel = 2 url = http://perfmon2.sourceforge.net/ arch = x86_64 arch = i686 @@ -3,7 +3,7 @@ pkgname=libpfm4 pkgver=4.4.0 conflicts=('libpfm3') -pkgrel=1 +pkgrel=2 pkgdesc="The hardware-based performance monitoring interface for Linux." arch=('x86_64' 'i686') url="http://perfmon2.sourceforge.net/" @@ -27,7 +27,16 @@ check () { package() { cd "$srcdir/libpfm-$pkgver" + + # Install libraries 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 install -D -m0644 COPYING "${pkgdir}"/usr/share/licenses/libpfm4/LICENSE } |