summaryrefslogtreecommitdiff
path: root/experimental/lmms/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 21:46:48 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 21:46:48 -0400
commite144e346b829eb39c1d2c82f5bdc4f8d991624b7 (patch)
tree97a50dd98dd7482b756f72cb207688094e8eaae2 /experimental/lmms/APKBUILD
parent0a98be6dbe4597ce4e60063692bea676df03766a (diff)
downloadpackages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.gz
packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.bz2
packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.xz
packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.zip
experimental/*: remove bashisms
Diffstat (limited to 'experimental/lmms/APKBUILD')
-rw-r--r--experimental/lmms/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/experimental/lmms/APKBUILD b/experimental/lmms/APKBUILD
index 5a045f66e..6724d80ef 100644
--- a/experimental/lmms/APKBUILD
+++ b/experimental/lmms/APKBUILD
@@ -2,6 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=lmms
pkgver=1.2.0
+_pkgver=$(printf '%s' "$pkgver" | sed 's/_/-/')
pkgrel=0
pkgdesc="Music production software"
url="https://lmms.io/"
@@ -13,13 +14,13 @@ makedepends="alsa-lib-dev cmake fftw-dev fltk-dev fluidsynth-dev lame-dev
pulseaudio-dev qt5-qtbase-dev qt5-qttools-dev qt5-qtx11extras-dev
sdl-dev extra-cmake-modules xcb-util-dev xcb-util-keysyms-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="lmms-${pkgver/_/-}.tar.gz::https://github.com/LMMS/lmms/archive/v${pkgver/_/-}.tar.gz
+source="lmms-$_pkgver.tar.gz::https://github.com/LMMS/lmms/archive/v$_pkgver.tar.gz
https://distfiles.adelielinux.org/source/qt5-x11embed-20171106.tar.xz
rpmalloc-1.3.1.tar.gz::https://github.com/rampantpixels/rpmalloc/archive/1.3.1.tar.gz
thread.patch
use-system-ecm.patch
"
-builddir="$srcdir"/lmms-${pkgver/_/-}
+builddir="$srcdir/lmms-$_pkgver"
prepare() {
cd "$builddir"