summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chrétien2013-07-18 18:12:39 +0900
committerBenjamin Chrétien2013-07-18 18:18:14 +0900
commita70626fb78d8944fa6ce9664b35cdfa841e58c68 (patch)
treec36f3c58561beb04dcf9dd99b36ffccd0c20ad68
parent8d34fd6e605b6e63f08cd0151adb4de9395e7334 (diff)
downloadaur-a70626fb78d8944fa6ce9664b35cdfa841e58c68.tar.gz
Update libpfm4 to 4.4.0.
Also run the test program in check().
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
-rw-r--r--config.mk2
3 files changed, 15 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d9edd21b9b7..f3c9f270861 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = libpfm4
pkgdesc = The hardware-based performance monitoring interface for Linux.
- pkgver = 4.3.0
+ pkgver = 4.4.0
pkgrel = 1
url = http://perfmon2.sourceforge.net/
arch = x86_64
@@ -8,10 +8,10 @@ pkgbase = libpfm4
license = MIT
depends = glibc
conflicts = libpfm3
- source = http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.3.0.tar.gz
+ source = http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.4.0.tar.gz
source = config.mk
- md5sums = 0ab272dbdbb759b852ba8bd06db030ef
- md5sums = ac3806df879a0c99b99574b4011bffab
+ md5sums = 93b853c97a41044ef33c3071bdedb249
+ md5sums = d648df674716271b0ce59a857e535e6e
pkgname = libpfm4
diff --git a/PKGBUILD b/PKGBUILD
index 930ef1da540..fc8dd7afc22 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
-# Maintainer: Håvard Espeland <espeland@acm.org>
+# Maintainer: Benjamin Chretien <chretien at lirmm dot fr>
+# Contributor: Håvard Espeland <espeland@acm.org>
pkgname=libpfm4
-pkgver=4.3.0
+pkgver=4.4.0
conflicts=('libpfm3')
pkgrel=1
pkgdesc="The hardware-based performance monitoring interface for Linux."
@@ -10,8 +11,8 @@ license=('MIT')
depends=('glibc')
source=("http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-$pkgver.tar.gz"
'config.mk')
-md5sums=('0ab272dbdbb759b852ba8bd06db030ef'
- 'ac3806df879a0c99b99574b4011bffab')
+md5sums=('93b853c97a41044ef33c3071bdedb249'
+ 'd648df674716271b0ce59a857e535e6e')
build() {
cd "$srcdir/libpfm-$pkgver"
@@ -19,6 +20,11 @@ build() {
make
}
+check () {
+ cd "$srcdir/libpfm-$pkgver/tests"
+ ./validate
+}
+
package() {
cd "$srcdir/libpfm-$pkgver"
make DESTDIR="$pkgdir/" install
diff --git a/config.mk b/config.mk
index 808674cab09..dea3265875d 100644
--- a/config.mk
+++ b/config.mk
@@ -91,7 +91,7 @@ endif
# Library version
#
VERSION=4
-REVISION=2
+REVISION=4
AGE=0
#