From 57e345c7685983e629aac18a4e5b068392d29f6d Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sun, 21 Jul 2019 21:16:29 -0400 Subject: user/*: bashism removal part 2 (o-z) --- user/quaternion/APKBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'user/quaternion/APKBUILD') diff --git a/user/quaternion/APKBUILD b/user/quaternion/APKBUILD index 76f7284af..a3445fb3d 100644 --- a/user/quaternion/APKBUILD +++ b/user/quaternion/APKBUILD @@ -2,6 +2,7 @@ # Maintainer: A. Wilcox pkgname=quaternion pkgver=0.0.9.4c +_pkgver=$(printf '%s' "$pkgver" | sed 's/_/-/') pkgrel=0 pkgdesc="Qt5-based Matrix chat client" url="https://matrix.org/docs/projects/client/quaternion.html" @@ -11,8 +12,8 @@ depends="qt5-qtquickcontrols" makedepends="cmake libquotient-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtmultimedia-dev qt5-qttools-dev" subpackages="" -source="quaternion-$pkgver.tar.gz::https://github.com/QMatrixClient/Quaternion/archive/${pkgver/_/-}.tar.gz" -builddir="$srcdir/Quaternion-${pkgver/_/-}" +source="quaternion-$pkgver.tar.gz::https://github.com/QMatrixClient/Quaternion/archive/$_pkgver.tar.gz" +builddir="$srcdir/Quaternion-$_pkgver" build() { if [ "$CBUILD" != "$CHOST" ]; then -- cgit v1.2.3-70-g09d2