diff options
author | Balazs Vinarz | 2024-07-12 22:53:11 +0200 |
---|---|---|
committer | Balazs Vinarz | 2024-07-12 22:53:11 +0200 |
commit | 12dfad586543fddcd2e674533100786336de14be (patch) | |
tree | 82b011e5ed65438ca6770d45313d9e72f9269a2e | |
parent | 9eedb630ac01ee01f8db08d67fa0878434aa724d (diff) | |
download | aur-domoticz-bin.tar.gz |
update to version 2024.6 and change the function to user armv7l in the url
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 8 deletions
@@ -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 @@ -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') |