summaryrefslogtreecommitdiff
path: root/libre/parabola-keyring
diff options
context:
space:
mode:
Diffstat (limited to 'libre/parabola-keyring')
-rw-r--r--libre/parabola-keyring/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/libre/parabola-keyring/PKGBUILD b/libre/parabola-keyring/PKGBUILD
index 28c884ae6..0cb698d25 100644
--- a/libre/parabola-keyring/PKGBUILD
+++ b/libre/parabola-keyring/PKGBUILD
@@ -13,14 +13,18 @@ source=("hackers-${_gitver}::git://git.parabola.nu/hackers.git#commit=${_gitver}
sha512sums=('SKIP')
makedepends=('parabola-hackers' 'git')
-package() {
+prepare() {
cd "$srcdir"
mv {,.}hackers-$_gitver
mkdir .cachedir
+ export PARABOLA_HACKERS_YAMLDIR="$PWD/.hackers-$_gitver/users"
/usr/lib/parabola-hackers/pacman-make-keyring \
V="$pkgver" \
- PARABOLA_HACKERS_YAMLDIR="$PWD/.hackers-$_gitver/users" \
cachedir="$PWD/.cachedir"
+}
+
+package() {
+ cd "$srcdir"
bsdtar xf "$pkgname-$pkgver.tar.gz"
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr DESTDIR="${pkgdir}" install