summaryrefslogtreecommitdiff
path: root/extra/archboot
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-25 10:00:24 +0200
committerErich Eckner <git@eckner.net>2018-06-25 10:00:24 +0200
commit12900a310c46a9d70727bd3c0a575ba9234a75f2 (patch)
tree359ee230b2e5228350b17e834d0dff450117386e /extra/archboot
parent54609d50c8f2fe76509780b0ef1420cc0d6415d2 (diff)
downloadpackages-12900a310c46a9d70727bd3c0a575ba9234a75f2.tar.xz
extra/archboot: strip sub_pkgrel from cd, too
Diffstat (limited to 'extra/archboot')
-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%.*}/
+ '
+)"