diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-15 09:13:13 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-15 09:13:13 +0000 |
commit | 95879a2a9b6caaa04c86abc8a732b41c6d7303dd (patch) | |
tree | e1a58f8f2dfca143dc27af6f912652bec772092e /testing/homer-ui | |
parent | e0c4447934bf1eef5d48471152eb9d1befb0275b (diff) | |
download | aports-95879a2a9b6caaa04c86abc8a732b41c6d7303dd.tar.bz2 aports-95879a2a9b6caaa04c86abc8a732b41c6d7303dd.tar.xz |
testing/homer-ui: use pkgver in source. If pkgver were not set, the mv * moved also the APKBUILD
Diffstat (limited to 'testing/homer-ui')
-rw-r--r-- | testing/homer-ui/APKBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/homer-ui/APKBUILD b/testing/homer-ui/APKBUILD index 62d295bc98..7615e3b532 100644 --- a/testing/homer-ui/APKBUILD +++ b/testing/homer-ui/APKBUILD @@ -13,7 +13,7 @@ makedepends="$depends_dev" install= subpackages= pkggroups="www-data" -source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/homer-ui/archive/v5.0.2-ui.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/homer-ui/archive/v${pkgver}-ui.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver-ui @@ -32,7 +32,7 @@ build() { package() { cd "$_builddir" mkdir -p "$pkgdir"/usr/share/webapps/homer-ui "$pkgdir"/etc/homer - mv * "$pkgdir"/usr/share/webapps/homer-ui + mv "$_builddir"/* "$pkgdir"/usr/share/webapps/homer-ui chown -R :www-data "$pkgdir"/usr/share/webapps/homer-ui/store/dashboard chmod -R 664 "$pkgdir"/usr/share/webapps/homer-ui/store/dashboard mv "$pkgdir"/usr/share/webapps/homer-ui/store/dashboard "$pkgdir"/etc/homer/ || return 1 |