Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/archboot/PKGBUILD
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/PKGBUILD
parent54609d50c8f2fe76509780b0ef1420cc0d6415d2 (diff)
extra/archboot: strip sub_pkgrel from cd, too
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%.*}/
+ '
+)"