From 12900a310c46a9d70727bd3c0a575ba9234a75f2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 25 Jun 2018 10:00:24 +0200 Subject: extra/archboot: strip sub_pkgrel from cd, too --- extra/archboot/PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'extra/archboot/PKGBUILD') 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%.*}/ + ' +)" -- cgit v1.2.3-70-g09d2