diff options
author | Denton Liu | 2022-10-24 02:45:56 -0700 |
---|---|---|
committer | Denton Liu | 2022-10-24 02:45:56 -0700 |
commit | d6cf1cde293d8170e3de6860c12c93e9bf9d34ba (patch) | |
tree | 2df707c13840c42371cadf1e2183d3b317ac64d0 | |
parent | 003ea753dfc8ec1c349964d1a72b61afd6eef3e9 (diff) | |
download | aur-d6cf1cde293d8170e3de6860c12c93e9bf9d34ba.tar.gz |
PKGBUILD: fix generated package file
Since we're overriding $pkgname, the generated output filename currently
is `ddclient-v3.10.0.r0.g3e2cb0a-1-any.pkg.tar.zst`. This is incorrect
because we lost the `-git` suffix.
Ensure that the $pkgname is not overridden by the end of package().
Reported-by: jahway603 <jahway603@protonmail.com>
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = ddclient-git pkgdesc = Update dynamic DNS entries for accounts on many dynamic DNS services - pkgver = v3.8.3.r582.g8253c67 + pkgver = v3.10.0.r0.g3e2cb0a pkgrel = 1 url = https://github.com/ddclient/ddclient arch = any @@ -20,4 +20,3 @@ pkgbase = ddclient-git sha256sums = 6133eefbb4315ee2a7b24044ba9c2d5c4f9d19381eab8071415bf4dc73c1cf09 pkgname = ddclient-git - @@ -6,7 +6,7 @@ pkgname=ddclient-git _gitname="${pkgname%-git}" -pkgver=v3.8.3.r582.g8253c67 +pkgver=v3.10.0.r0.g3e2cb0a pkgrel=1 pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services" @@ -51,6 +51,7 @@ check() { package() { # hack so that we can merge in changes from upstream without changing all the # $pkgname to $_gitname + ( pkgname="$_gitname" cd ddclient @@ -64,4 +65,6 @@ package() { install -Dm644 sample-etc_cron.d_ddclient "$pkgdir"/usr/share/doc/ddclient/sample-etc_cron.d_ddclient install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT + + ) } |