aboutsummaryrefslogtreecommitdiffstats
path: root/main/procps
diff options
context:
space:
mode:
authoralpine-mips-patches <info@mobile-stream.com>2019-11-13 20:14:14 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-11-16 19:56:29 +0000
commitc40f2e5465d23eb74bdc867a4f35a2b1758ab26f (patch)
treec95e0faf12895cf1b578eff0dba12549f069c003 /main/procps
parentad949067785badc204d1bbde03e3ad0e6f5a3302 (diff)
downloadaports-c40f2e5465d23eb74bdc867a4f35a2b1758ab26f.tar.bz2
aports-c40f2e5465d23eb74bdc867a4f35a2b1758ab26f.tar.xz
main/procps: fix wrong version in libprocps.pc
Diffstat (limited to 'main/procps')
-rw-r--r--main/procps/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/procps/APKBUILD b/main/procps/APKBUILD
index 616b7a1e02..0440389251 100644
--- a/main/procps/APKBUILD
+++ b/main/procps/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=procps
pkgver=3.3.15
-pkgrel=0
+pkgrel=1
pkgdesc="Utilities for monitoring your system and processes on your system"
url="https://gitlab.com/procps-ng/procps"
arch="all"
@@ -19,6 +19,12 @@ prepare() {
default_prepare
cd "$builddir"
+ # force misc/git-version-gen use the correct version (instead of UNKNOWN);
+ # however only do it if the upstream tarball really misses it.
+ if test ! -f .tarball_version ; then
+ rm -f .version
+ echo "$pkgver" > .tarball-version
+ fi
./autogen.sh
}