From db4d737a2d883f7d3ff122fa3116afecb9942770 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sun, 21 Jul 2019 19:44:28 -0400 Subject: user/*: APKBUILD bashism removal, part one (a-p) --- user/libdbusmenu-qt/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user/libdbusmenu-qt') diff --git a/user/libdbusmenu-qt/APKBUILD b/user/libdbusmenu-qt/APKBUILD index 8b95777ca..b91995d28 100644 --- a/user/libdbusmenu-qt/APKBUILD +++ b/user/libdbusmenu-qt/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: A. Wilcox pkgname=libdbusmenu-qt pkgver=0.9.3.16.04.20160218 -_realver=${pkgver/.16.04/+16.04} +_realver="${pkgver%.*.*.*}+${pkgver#*.*.*.}" pkgrel=0 pkgdesc="library to export QMenu over DBusMenu protocol" url="https://launchpad.net/libdbusmenu-qt/" @@ -14,8 +14,8 @@ depends="" depends_dev="qt5-qtbase-dev" makedepends="$depends_dev cmake doxygen" subpackages="$pkgname-dev $pkgname-doc" -source="https://launchpad.net/ubuntu/+archive/primary/+files/"$pkgname"_"$_realver".orig.tar.gz" -builddir="$srcdir"/$pkgname-$_realver +source="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${_realver}.orig.tar.gz" +builddir="$srcdir/$pkgname-$_realver" prepare() { cd "$builddir" -- cgit v1.2.3-70-g09d2