blob: e25713a6bb63149c3d11803f0fb0b800e9cc399a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=homer-ui
pkgver=5.0.2
pkgrel=4
pkgdesc="HOMER User-Interface"
url="https://github.com/sipcapture/homer-ui"
arch="noarch"
license="AGPL3"
depends="homer-api php5-ctype php5-mysql php5-gd php5-json"
depends_dev=
makedepends="$depends_dev"
install=
subpackages=
pkggroups="www-data"
source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/homer-ui/archive/v${pkgver}-ui.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver-ui
prepare() {
cd "$builddir"
# apply patches here
return 0
}
build() {
cd "$builddir"
return 0
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/share/webapps/homer-ui "$pkgdir"/etc/homer
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
ln -s /etc/homer/dashboard "$pkgdir"/usr/share/webapps/homer-ui/store/dashboard || return 1
}
md5sums="0909af05602d5593d7015b07924c722f homer-ui-5.0.2.tar.gz"
sha256sums="8788665fc745a612f0c7b3c52309553aec6ffb5809b9833fc1329d5aa6987492 homer-ui-5.0.2.tar.gz"
sha512sums="d632abeeac0f960445366a8ecf4e5d1870f88fb55299881765a3b44a5435ebf73b8ddfe0f506ee40e447a20f0099a7a0f9d7d1255110f04685d0ca4efc3a60f3 homer-ui-5.0.2.tar.gz"
|