summaryrefslogtreecommitdiff
path: root/extra/archboot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/archboot/PKGBUILD')
-rw-r--r--extra/archboot/PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/archboot/PKGBUILD b/extra/archboot/PKGBUILD
index 129f73fd..fa8ba7de 100644
--- a/extra/archboot/PKGBUILD
+++ b/extra/archboot/PKGBUILD
@@ -1 +1,7 @@
source=("https://git.archlinux.org/archboot.git/snapshot/${pkgname}-${pkgver}-${pkgrel%.*}.tar.xz")
+eval "$(
+ declare -f package | \
+ sed '
+ s/\$pkgrel/${pkgrel%.*}/
+ '
+)"