summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichael Schantl2023-05-10 17:06:10 +0000
committerMichael Schantl2023-05-10 17:06:10 +0000
commit9dd5378ecdaffac89159385c4bfac24ae6b9d363 (patch)
tree9b5f38e51e5cff808bbe0f5acc13a42d0fb206ea /PKGBUILD
parente043e95507fc89175d96c045efc3602252768486 (diff)
downloadaur-9dd5378ecdaffac89159385c4bfac24ae6b9d363.tar.gz
Add patch for incorrect upstream versioning
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 13f8f44e6ba9..3c489351bedf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,7 +41,8 @@ source=("$pkgname-$pkgver.tar.xz::$(_dl_url $_MAJOR $_MINOR $_PATCH)"
"weewxd"
"wunderfixer"
"weewx.service"
- "pillow-rect.patch")
+ "pillow-rect.patch"
+ "weewx-version.patch")
sha512sums=('8fca9cd7720a29687a0d900e4d89ec2ce5ca5d2aa36bc5b5909ea14ecb849cdbdb6e699cf1c3a0d5505c89ad8c309517db32fd8dc4a0ae4704dfd5ed0cc5747f'
'SKIP'
'SKIP'
@@ -53,11 +54,13 @@ sha512sums=('8fca9cd7720a29687a0d900e4d89ec2ce5ca5d2aa36bc5b5909ea14ecb849cdbdb6
'SKIP'
'SKIP'
'SKIP'
+ 'SKIP'
'SKIP')
_watch="http://www.weewx.com/downloads/"
prepare() {
cd "$srcdir/${pkgname}-${pkgver}"
+ patch --strip=1 --input="$srcdir/weewx-version.patch"
patch --strip=1 --input="$srcdir/pillow-rect.patch"
}