summaryrefslogtreecommitdiff
path: root/mtx-svn/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-05-26 10:42:57 +0200
committerErich Eckner <git@eckner.net>2021-05-26 10:42:57 +0200
commit1c71e95012ac42ba1dc51738483eb657b7d87897 (patch)
treece089406bb4275459547920a3005ce13ee76ea0a /mtx-svn/PKGBUILD
parent04eb396bffc0d9cc2546fc75c1b826688c8ecc37 (diff)
downloadarchlinuxewe-1c71e95012ac42ba1dc51738483eb657b7d87897.tar.xz
mtx-svn: add pkgver()
Diffstat (limited to 'mtx-svn/PKGBUILD')
-rw-r--r--mtx-svn/PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/mtx-svn/PKGBUILD b/mtx-svn/PKGBUILD
index c9bf488ee..83b8a6690 100644
--- a/mtx-svn/PKGBUILD
+++ b/mtx-svn/PKGBUILD
@@ -26,6 +26,12 @@ makedepends=('subversion')
source=("mtx-svn::svn+https://svn.code.sf.net/p/mtx/code/trunk#revision=${pkgver#r}")
sha512sums=('SKIP')
+pkgver() {
+ cd "${srcdir}"/mtx-svn
+ printf 'r%s' \
+ $(svnversion | tr -d [A-z])
+}
+
prepare() {
sed -i '
s@ | armv\*-\*@ | aarch64-*\0@