diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-09-19 17:17:12 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-09-19 17:17:12 +0300 |
commit | 8b768022ca5f5080c2c08d5e1e3b98054dc95b08 (patch) | |
tree | 710babe9bc380c090142a699503865a2677debec /community/homer-ui/APKBUILD | |
parent | fb1062131ac950b1076b675cdd0883cc1fc016b7 (diff) | |
download | aports-8b768022ca5f5080c2c08d5e1e3b98054dc95b08.tar.bz2 aports-8b768022ca5f5080c2c08d5e1e3b98054dc95b08.tar.xz |
Revert "main/homer-ui: moved from community"
This reverts commit 5447327088bd1d3d797d8760daf18c3de73f23c7.
Diffstat (limited to 'community/homer-ui/APKBUILD')
-rw-r--r-- | community/homer-ui/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/homer-ui/APKBUILD b/community/homer-ui/APKBUILD new file mode 100644 index 0000000000..0dc31c5cb5 --- /dev/null +++ b/community/homer-ui/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=homer-ui +pkgver=5.0.6 +pkgrel=2 +pkgdesc="HOMER User-Interface" +url="https://github.com/sipcapture/homer-ui" +arch="noarch" +license="AGPL3" +depends="homer-api" +depends_dev= +makedepends="$depends_dev" +install= +subpackages= +pkggroups="www-data" +source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/homer-ui/archive/${pkgver}.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + return 0 +} + +package() { + cd "$builddir" + mkdir -p "$pkgdir"/usr/share/webapps/homer "$pkgdir"/etc/homer + mv "$builddir"/* "$pkgdir"/usr/share/webapps/homer + chown -R :www-data "$pkgdir"/usr/share/webapps/homer/store/dashboard + chmod 775 "$pkgdir"/usr/share/webapps/homer/store/dashboard + chmod 664 "$pkgdir"/usr/share/webapps/homer/store/dashboard/* + mv "$pkgdir"/usr/share/webapps/homer/store/dashboard "$pkgdir"/etc/homer/ || return 1 + ln -s /etc/homer/dashboard "$pkgdir"/usr/share/webapps/homer/store/dashboard || return 1 +} + +md5sums="5394aef2d72a8624178d08a048db215f homer-ui-5.0.6.tar.gz" +sha256sums="8fe40079b888eb7e485d2faa369329edd217695a451869411034987f5be1deb2 homer-ui-5.0.6.tar.gz" +sha512sums="14fe5b7064be94c01fdc1a498b635fca23df03310a5ec0fa28b7c395971286749f3b4b1abda56f1c3ebaf6d6fd9c99db317f00dead07efc999e8aa11645406ec homer-ui-5.0.6.tar.gz" |