diff options
Diffstat (limited to 'testing/homer-app/APKBUILD')
-rw-r--r-- | testing/homer-app/APKBUILD | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/testing/homer-app/APKBUILD b/testing/homer-app/APKBUILD index dfc5bf5d667..921656ae190 100644 --- a/testing/homer-app/APKBUILD +++ b/testing/homer-app/APKBUILD @@ -1,22 +1,31 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=homer-app -pkgver=1.2.0 -_uiver=7.8.0 -pkgrel=1 +pkgver=1.4.59 +pkgrel=3 pkgdesc="HOMER 7.x Front-End and API Server" url="http://sipcapture.io" arch="x86_64" license="AGPL-3.0-or-later" makedepends="go" install="$pkgname.pre-install" -options="!check" # no test suite +options="net" subpackages="$pkgname-doc $pkgname-openrc" -source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/homer-app/archive/$pkgver.tar.gz - https://github.com/sipcapture/homer-app/releases/download/$pkgver/homer-ui-$_uiver.tgz +source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/homer-app/archive/refs/tags/$pkgver.tar.gz + https://github.com/sipcapture/homer-app/releases/download/$pkgver/homer-ui-$pkgver.tgz $pkgname.initd - change-default-locations.patch + + 0001-change-web-and-config-paths.patch " +export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" +export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" +export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" + +prepare() { + default_prepare + go mod download +} + build() { make modules make all @@ -30,7 +39,6 @@ package() { install -D -m755 release/homer-app_linux_amd64/homer-app "$pkgdir"/usr/bin/homer-app install -D -m644 etc/webapp_config.json "$pkgdir"/etc/homer/webapp_config.json mkdir -p "$pkgdir"/usr/share/webapps/homer \ - "$pkgdir"/var/log/homer \ "$pkgdir"/usr/share/licenses/$pkgname mv "$srcdir"/dist/3rdpartylicenses.txt \ "$pkgdir"/usr/share/licenses/$pkgname/3rdpartylicenses.txt @@ -38,7 +46,9 @@ package() { install -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } -sha512sums="40faf2d70d7c6a29fb447dee5f2a41aa7d5ea88a84c7205ff7d47f94f3df9fa96ecbff8586a0dd5a3ef1152bbe7d7decb8089eefab4091fcc84d1c70c6d892b2 homer-app-1.2.0.tar.gz -a05a9969f407d030ec908c47d47467699fc1a8baec151c9f9d3bc4094226cb20567178f1111987f84dd88953130ab2529bc7400cd861c0801285e204f652bb94 homer-ui-7.8.0.tgz -2ba4e0403bd6f3b08a3a4d8bf366ec776941b5a29e9728ca2aefbfc663ce64c01f67a2f8f408a777db7921f8f66f93797fb5f056809901d3f25fe39b414b5865 homer-app.initd -be531ea77a31ad3856f1f5783c671ff3bd3cad5fda43c06f6ef2b063bcb80f402011771f6ac5da73e164ee359b3ba1bb5e0f98dad1baa0c97676692ab646efe6 change-default-locations.patch" +sha512sums=" +b62ded15ff9ad2651b4e58ecf497b10208cc0a9075eca01a62328c71402c14a7a12b5903a4ea1ce86d38f38052fbbcdda3f498f120fee77a2fd271b87a41fe3c homer-app-1.4.59.tar.gz +561f858f72a620abe041d0bff8632e57c25fcfa5f13053fa416471deb4d9d766a4c90602b7a6b0987165d2ba61ccbcf66a567e53a99be63c704b341350258c87 homer-ui-1.4.59.tgz +0eaace71fe329bead88d7180aa5ad80f6924f1e0b3426cfa45811121ff4e907b32a4b08d6db995ae77b9b9ddbdbfc66411c03c2eea9c0393f6b9ed12ad851a77 homer-app.initd +f4073ebe4dda4d94a62a810179b707b5245a15e80473576253b992fd1c0a5ba3dbc2645c56ad10ce63c12ab494a9d9da5fe172b68f1b5594e28b45c18df99fe9 0001-change-web-and-config-paths.patch +" |