diff options
Diffstat (limited to 'main/homer-ui/APKBUILD')
-rw-r--r-- | main/homer-ui/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/homer-ui/APKBUILD b/main/homer-ui/APKBUILD new file mode 100644 index 0000000000..0dc31c5cb5 --- /dev/null +++ b/main/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" |