summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorИлья Титов2023-10-06 13:29:45 +0300
committerИлья Титов2023-10-06 13:29:45 +0300
commit03d9cac3b47a7d67d23dad98d7b26da36e226f23 (patch)
tree45d3db324bee4953ffd68ca61c9b8cfe0b41fdcf
downloadaur-03d9cac3b47a7d67d23dad98d7b26da36e226f23.tar.gz
1.1.0
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD42
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..e73de425e020
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = homed-web
+ pkgdesc = HOMEd Web is web interface for all HOMEd services, part of HOMEd project
+ pkgver = 1.1.0
+ pkgrel = 1
+ url = https://wiki.homed.dev/
+ arch = armv7h
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = qt5-tools
+ depends = qt5-mqtt
+ depends = qt5-websockets
+ backup = etc/homed/homed-web.conf
+ source = https://github.com/u236/homed-service-web/archive/refs/tags/1.1.0.tar.gz
+ source = git+https://github.com/u236/homed-service-common.git
+ sha512sums = 6da1babf82b94b9f7d84db4ff00b7f389eef4f0c93ca129b4ef79a273da884658209c45173e6f066e2805fcde97bd63892781fbde7dd5c19ac5713fcadfd34ae
+ sha512sums = SKIP
+
+pkgname = homed-web
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..47c252509cc9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Ilia Titov <mail@u236.org>
+# Contributor: Sergey Moryakov <sergey@nqnet.org>
+
+pkgname=homed-web
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="HOMEd Web is web interface for all HOMEd services, part of HOMEd project"
+arch=("armv7h" "i686" "x86_64")
+url="https://wiki.homed.dev/"
+license=("GPL3")
+backup=("etc/homed/homed-web.conf")
+depends=("qt5-mqtt" "qt5-websockets")
+makedepends=("qt5-tools")
+source=(
+ "https://github.com/u236/homed-service-web/archive/refs/tags/${pkgver}.tar.gz"
+ "git+https://github.com/u236/homed-service-common.git"
+)
+sha512sums=(
+ "6da1babf82b94b9f7d84db4ff00b7f389eef4f0c93ca129b4ef79a273da884658209c45173e6f066e2805fcde97bd63892781fbde7dd5c19ac5713fcadfd34ae"
+ "SKIP"
+)
+
+prepare() {
+ cd "${srcdir}/homed-service-common"
+ sed -i "s/homed-common/homed-service-common/" homed-common.pri
+ cd "${srcdir}/homed-service-web-${pkgver}"
+ sed -i "s/homed-common/homed-service-common/" homed-web.pro
+}
+
+build() {
+ cd "${srcdir}/homed-service-web-${pkgver}"
+ qmake-qt5
+ make -j $(nproc)
+}
+
+package() {
+ cd "${srcdir}/homed-service-web-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}/" install
+ mkdir -p ${pkgdir}/opt/homed-web
+ install -Dm644 "deploy/systemd/homed-web.service" "${pkgdir}/etc/systemd/system/homed-web.service"
+ install -Dm644 "deploy/data/etc/homed/homed-web.conf" "${pkgdir}/etc/homed/homed-web.conf"
+}