summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichael Schantl2023-02-01 17:37:47 +0000
committerMichael Schantl2023-02-01 17:37:47 +0000
commit609646f28cfcdf2c9b250f065a87a6025a6d344e (patch)
tree49a391b7c3425056f8771e531d6a39808a53ea9f /PKGBUILD
parenta179468b907e8e263be414ac51896a01d51f0a90 (diff)
downloadaur-609646f28cfcdf2c9b250f065a87a6025a6d344e.tar.gz
Switch to unique download file name for WeeWX
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index df3e49069270..9b2452a31cbe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ function _dl_url {
echo "https://github.com/weewx/weewx/archive/refs/tags/v$1.$2.$3.tar.gz"
}
-pkgrel=1
+pkgrel=2
pkgdesc="Software for logging data from weather stations"
arch=("any")
url="http://www.weewx.com/"
@@ -30,7 +30,7 @@ optdepends=("python-pyephem: extended almanac information"
"mariadb-clients: MariaDB support"
"python-mysqlclient: MariaDB support")
backup=("etc/weewx/weewx.conf")
-source=("$(_dl_url $_MAJOR $_MINOR $_PATCH)"
+source=("$pkgname-$pkgver.tar.xz::$(_dl_url $_MAJOR $_MINOR $_PATCH)"
"wee_config"
"wee_database"
"wee_debug"