summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chr├ętien2013-12-13 18:52:53 +0100
committerBenjamin Chr├ętien2013-12-13 18:52:53 +0100
commit06fb0daf51c9aeb1031c5adacf1e0448310a4a56 (patch)
treea7a8ea5b6e3104b20bc666abebb30fbe3c3ba170
parenta70626fb78d8944fa6ce9664b35cdfa841e58c68 (diff)
downloadaur-06fb0daf51c9aeb1031c5adacf1e0448310a4a56.tar.gz
Update libpfm4
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f3c9f270861..f7a7b36df94 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index fc8dd7afc22..ead8e17308c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}