diff options
author | mhaquila | 2023-06-24 07:25:24 +0200 |
---|---|---|
committer | mhaquila | 2023-06-24 07:25:24 +0200 |
commit | fc8783c640d49d1fea8f361a56d64e4321b9fb2a (patch) | |
tree | 279bb2088e2db05e2a80656549c0f5b09980cbf5 | |
parent | 3af345f4c25730f59ce6c359d51d9862ced03b37 (diff) | |
download | aur-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-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' |