summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/xfsprogs/APKBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/main/xfsprogs/APKBUILD b/main/xfsprogs/APKBUILD
index 4ebc9da38..83d31e03f 100644
--- a/main/xfsprogs/APKBUILD
+++ b/main/xfsprogs/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfsprogs
-pkgver=3.0.5
+pkgver=3.1.0
pkgrel=0
pkgdesc="XFS filesystem utilities"
url="http://oss.sgi.com/projects/xfs/"
@@ -12,13 +12,18 @@ source="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-$pkgver.tar.gz
xfsprogs-3.0.0-gzip.patch
"
-build() {
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
for i in ../*.patch; do
msg "Applying $i..."
patch -p1 < $i || return 1
done
+}
+build() {
+ cd "$_builddir"
export DEBUG=-DNDEBUG
export OPTIMIZER="$CFLAGS"
@@ -29,7 +34,11 @@ build() {
--enable-gettext=no
make SHELL=/bin/bash || return 1
+}
+
+package() {
+ cd "$_builddir"
make -j1 DIST_ROOT="$pkgdir" install install-dev
}
-md5sums="d2f981b1ae9348405a331b4c33a08cab xfsprogs-3.0.5.tar.gz
+md5sums="07c1ff6a4a44b58ee5ffdabca33a4493 xfsprogs-3.1.0.tar.gz
c72865de30f55343e843dd4fd49a91c5 xfsprogs-3.0.0-gzip.patch"