summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormhaquila2023-06-24 07:25:24 +0200
committermhaquila2023-06-24 07:25:24 +0200
commitfc8783c640d49d1fea8f361a56d64e4321b9fb2a (patch)
tree279bb2088e2db05e2a80656549c0f5b09980cbf5
parent3af345f4c25730f59ce6c359d51d9862ced03b37 (diff)
downloadaur-fc8783c640d49d1fea8f361a56d64e4321b9fb2a.tar.gz
feat: set the version in URL as a variable
We had to modify the version manually in the URL to change it. Resuming the $pkgver variable automates this.
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 89350333419e..5973a72f4061 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ optdepends=('smartmontools')
makedepends=('perl-module-install')
install=${pkgname}.install
backup=('etc/ocsinventory/ocsinventory-agent.cfg')
-source=("https://github.com/OCSInventory-NG/UnixAgent/releases/download/v2.10.0/Ocsinventory-Unix-Agent-2.10.0.tar.gz"
+source=("https://github.com/OCSInventory-NG/UnixAgent/releases/download/v${pkgver}/Ocsinventory-Unix-Agent-${pkgver}.tar.gz"
"modules.conf" "ocsinventory-agent" "ocsinventory-agent.cfg")
md5sums=('2ba754c69247889ee96a4d82fc7b6f03'
'3c1235643decce6f1a29c5644d2b527b'