diff options
author | Max Rees <maxcrees@me.com> | 2019-07-21 21:16:29 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-07-21 21:16:29 -0400 |
commit | 57e345c7685983e629aac18a4e5b068392d29f6d (patch) | |
tree | 3382b950b7b2b20262401226e0495ef4a0d86514 /user/quaternion | |
parent | 28292506b3918b763ea272399044fcf72534aec2 (diff) | |
download | packages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.gz packages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.bz2 packages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.xz packages-57e345c7685983e629aac18a4e5b068392d29f6d.zip |
user/*: bashism removal part 2 (o-z)
Diffstat (limited to 'user/quaternion')
-rw-r--r-- | user/quaternion/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
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 <awilfox@adelielinux.org> 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 |