aboutsummaryrefslogtreecommitdiffstats
path: root/testing/homer-ui/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-04-15 09:13:13 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-04-15 09:13:13 +0000
commit95879a2a9b6caaa04c86abc8a732b41c6d7303dd (patch)
treee1a58f8f2dfca143dc27af6f912652bec772092e /testing/homer-ui/APKBUILD
parente0c4447934bf1eef5d48471152eb9d1befb0275b (diff)
downloadaports-95879a2a9b6caaa04c86abc8a732b41c6d7303dd.tar.gz
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/APKBUILD')
-rw-r--r--testing/homer-ui/APKBUILD4
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