summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chrétien2016-01-30 11:45:42 +0900
committerBenjamin Chrétien2016-01-30 11:45:42 +0900
commit0cd287f1125633c61ba2b12f20084ab8e5c8caa1 (patch)
tree8887e4ff54062eef5ccc4e57e2f9633ca8600d58
parent7939d7f108cf206011ca71e586b1ba8a5dabf456 (diff)
downloadaur-0cd287f1125633c61ba2b12f20084ab8e5c8caa1.tar.gz
Update to version 4.6.0 (pkgrel 1)
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe2249b8081..8f6ccb5682b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Sat Jan 30 02:45:36 UTC 2016
pkgbase = libpfm4
pkgdesc = Library to encode performance events for use by perf tool
- pkgver = 4.5.0
+ pkgver = 4.6.0
pkgrel = 1
url = http://perfmon2.sourceforge.net/
arch = x86_64
@@ -8,8 +10,8 @@ pkgbase = libpfm4
license = MIT
depends = glibc
conflicts = libpfm3
- source = http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.5.0.tar.gz
- md5sums = 8eda1e3741c8f3359a33ebd553243333
+ source = http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.6.0.tar.gz
+ sha256sums = 5ab1e5b0472550f9037a8800834f6bc3b927690070f69fac0b67284b4b05fd5f
pkgname = libpfm4
diff --git a/PKGBUILD b/PKGBUILD
index c5a726f3e89..deae45bf851 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Benjamin Chretien <chretien at lirmm dot fr>
# Contributor: Håvard Espeland <espeland@acm.org>
pkgname=libpfm4
-pkgver=4.5.0
+pkgver=4.6.0
conflicts=('libpfm3')
pkgrel=1
pkgdesc="Library to encode performance events for use by perf tool"
@@ -10,12 +10,16 @@ url="http://perfmon2.sourceforge.net/"
license=('MIT')
depends=('glibc')
source=("http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-$pkgver.tar.gz")
-md5sums=('8eda1e3741c8f3359a33ebd553243333')
+sha256sums=('5ab1e5b0472550f9037a8800834f6bc3b927690070f69fac0b67284b4b05fd5f')
-build() {
+prepare() {
cd "$srcdir/libpfm-$pkgver"
sed -i 's|PREFIX=/usr/local|PREFIX=/usr|g' config.mk
sed -i 's|LDCONFIG=ldconfig|LDCONFIG=true|g' config.mk
+}
+
+build() {
+ cd "$srcdir/libpfm-$pkgver"
make
}