diff options
author | Max Rees <maxcrees@me.com> | 2019-07-21 21:46:48 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-07-21 21:46:48 -0400 |
commit | e144e346b829eb39c1d2c82f5bdc4f8d991624b7 (patch) | |
tree | 97a50dd98dd7482b756f72cb207688094e8eaae2 /experimental/py3-hbmqtt/APKBUILD | |
parent | 0a98be6dbe4597ce4e60063692bea676df03766a (diff) | |
download | packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.gz packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.bz2 packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.tar.xz packages-e144e346b829eb39c1d2c82f5bdc4f8d991624b7.zip |
experimental/*: remove bashisms
Diffstat (limited to 'experimental/py3-hbmqtt/APKBUILD')
-rw-r--r-- | experimental/py3-hbmqtt/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/experimental/py3-hbmqtt/APKBUILD b/experimental/py3-hbmqtt/APKBUILD index e3f10e5ca..35172edf4 100644 --- a/experimental/py3-hbmqtt/APKBUILD +++ b/experimental/py3-hbmqtt/APKBUILD @@ -2,7 +2,9 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=py3-hbmqtt _pkgname=${pkgname#py3-} -pkgver=0.9.5 +_p="${_pkgname#?}" +_p="${_pkgname%"$_p"}" +pkgver=0.9.5 pkgrel=0 pkgdesc="MQTT client/broker using Python and asyncio" url="https://pypi.org/project/hbmqtt/" @@ -12,7 +14,7 @@ depends="python3" checkdepends="py3-docopt py3-passlib py3-pyyaml py3-six py3-transitions py3-websockets" makedepends="python3-dev" subpackages="" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { |