summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBalazs Vinarz2024-07-12 22:53:11 +0200
committerBalazs Vinarz2024-07-12 22:53:11 +0200
commit12dfad586543fddcd2e674533100786336de14be (patch)
tree82b011e5ed65438ca6770d45313d9e72f9269a2e
parent9eedb630ac01ee01f8db08d67fa0878434aa724d (diff)
downloadaur-domoticz-bin.tar.gz
update to version 2024.6 and change the function to user armv7l in the url
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d407103744a3..dd8165d63a55 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = domoticz-bin
pkgdesc = Web based home automation
- pkgver = 2023.2
- pkgrel = 4
+ pkgver = 2024.6
+ pkgrel = 1
url = https://www.domoticz.com
install = domoticz.install
arch = armv7h
@@ -13,7 +13,7 @@ pkgbase = domoticz-bin
depends = mosquitto
conflicts = domoticz
conflicts = domoticz-git
- source = domoticz-bin-2023.2.tar.gz::https://github.com/domoticz/domoticz/releases/download/2023.2/domoticz_linux_2023.2_armhf.tgz
+ source = domoticz-bin-2024.6.tar.gz::https://github.com/domoticz/domoticz/releases/download/2024.6/domoticz_linux_x86_64.tgz
source = domoticz.service
sha256sums = SKIP
sha256sums = 908e2848731eef27928f87936f94ff3df280901559fcf5f4754b1a8139e4a38a
diff --git a/PKGBUILD b/PKGBUILD
index 8b518de2fd51..7e142bfb409d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer : Balazs Vinarz <vinibali1@gmail.com
pkgname='domoticz-bin'
-pkgver=2023.2
-pkgrel=4
+pkgver=2024.6
+pkgrel=1
pkgdesc="Web based home automation"
arch=('armv7h' 'aarch64' 'x86_64')
url='https://www.domoticz.com'
@@ -11,17 +11,17 @@ license=('GPL3')
depends=('libusb-compat' 'libcurl-gnutls' 'mosquitto')
install='domoticz.install'
get_arch_string() {
-local arch="$1"
+local arch="$(awk -v FS='"' '/CARCH/ {print$2}' /etc/makepkg.conf)"
case "$arch" in
armv7h)
- echo armhf
+ echo armv7l
;;
*)
echo "$arch"
;;
esac
}
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/domoticz/domoticz/releases/download/${pkgver}/domoticz_linux_${pkgver}_$(get_arch_string $arch).tgz"
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/domoticz/domoticz/releases/download/${pkgver}/domoticz_linux_$(get_arch_string $arch).tgz"
'domoticz.service')
sha256sums=('SKIP'
'908e2848731eef27928f87936f94ff3df280901559fcf5f4754b1a8139e4a38a')