diff options
author | Erich Eckner <git@eckner.net> | 2021-05-26 10:42:57 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-05-26 10:42:57 +0200 |
commit | 1c71e95012ac42ba1dc51738483eb657b7d87897 (patch) | |
tree | ce089406bb4275459547920a3005ce13ee76ea0a /mtx-svn/PKGBUILD | |
parent | 04eb396bffc0d9cc2546fc75c1b826688c8ecc37 (diff) | |
download | archlinuxewe-1c71e95012ac42ba1dc51738483eb657b7d87897.tar.xz |
mtx-svn: add pkgver()
Diffstat (limited to 'mtx-svn/PKGBUILD')
-rw-r--r-- | mtx-svn/PKGBUILD | 6 |
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@ |