diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2020-02-01 19:53:48 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2020-02-01 19:53:48 +0100 |
commit | 85438d0c1126f2c9aba9673e5dfc57ca2504786b (patch) | |
tree | a5fb060a9998566eec41aaa4fd30347d44dc13dd /libre/parabola-keyring | |
parent | 420474c37b08764a7058d59ed69283a4df01052a (diff) | |
download | abslibre-85438d0c1126f2c9aba9673e5dfc57ca2504786b.tar.gz abslibre-85438d0c1126f2c9aba9673e5dfc57ca2504786b.tar.bz2 abslibre-85438d0c1126f2c9aba9673e5dfc57ca2504786b.zip |
libre/parabola-hackers: removed mksource
Diffstat (limited to 'libre/parabola-keyring')
-rw-r--r-- | libre/parabola-keyring/PKGBUILD | 16 | ||||
-rw-r--r-- | libre/parabola-keyring/PKGBUILD.backup | 35 |
2 files changed, 39 insertions, 12 deletions
diff --git a/libre/parabola-keyring/PKGBUILD b/libre/parabola-keyring/PKGBUILD index 996f35d52..7736af291 100644 --- a/libre/parabola-keyring/PKGBUILD +++ b/libre/parabola-keyring/PKGBUILD @@ -9,16 +9,11 @@ arch=('any') url='https://git.parabola.nu/hackers.git/' license=('GPL') install=$pkgname.install -source=(https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz{,.sig}) -sha512sums=('7955ba2afc61f2918025816494859faf2ed27ebdc609d492aae23f3b51744b29a2e4056823f1d4d6ae04837793a3cf24c431f0025b5ca719aa6b7ee64d4638ad' - 'SKIP') -validpgpkeys=('D3EAD7F9D076EB9AF650149DA170D6A0B669E21A') # Parabola automatic package builder <dev@lists.parabolagnulinux.org> +source=("hackers-${_gitver}::git://git.parabola.nu/hackers.git#commit=${_gitver}") +sha512sums=('SKIP') +depends=('parabola-hackers') -mkdepends=('parabola-hackers') -mksource=("hackers-${_gitver}::git://git.parabola.nu/hackers.git#commit=${_gitver}") -mkmd5sums=('SKIP') - -mksource() { +package() { cd "$srcdir" mv {,.}hackers-$_gitver mkdir .cachedir @@ -27,9 +22,6 @@ mksource() { PARABOLA_HACKERS_YAMLDIR="$PWD/.hackers-$_gitver/users" \ cachedir="$PWD/.cachedir" bsdtar xf "$pkgname-$pkgver.tar.gz" -} - -package() { cd "$srcdir/$pkgname-$pkgver" make PREFIX=/usr DESTDIR="${pkgdir}" install } diff --git a/libre/parabola-keyring/PKGBUILD.backup b/libre/parabola-keyring/PKGBUILD.backup new file mode 100644 index 000000000..996f35d52 --- /dev/null +++ b/libre/parabola-keyring/PKGBUILD.backup @@ -0,0 +1,35 @@ +# Maintainer: Parabola automatic package builder <autobuilder@parabola.nu> + +pkgname=parabola-keyring +pkgver=20191127 +_gitver=89066299c593bd574bda1c97f2a5c9be3bb833cf +pkgrel=1 +pkgdesc='Parabola GNU/Linux-libre PGP keyring' +arch=('any') +url='https://git.parabola.nu/hackers.git/' +license=('GPL') +install=$pkgname.install +source=(https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz{,.sig}) +sha512sums=('7955ba2afc61f2918025816494859faf2ed27ebdc609d492aae23f3b51744b29a2e4056823f1d4d6ae04837793a3cf24c431f0025b5ca719aa6b7ee64d4638ad' + 'SKIP') +validpgpkeys=('D3EAD7F9D076EB9AF650149DA170D6A0B669E21A') # Parabola automatic package builder <dev@lists.parabolagnulinux.org> + +mkdepends=('parabola-hackers') +mksource=("hackers-${_gitver}::git://git.parabola.nu/hackers.git#commit=${_gitver}") +mkmd5sums=('SKIP') + +mksource() { + cd "$srcdir" + mv {,.}hackers-$_gitver + mkdir .cachedir + /usr/lib/parabola-hackers/pacman-make-keyring \ + V="$pkgver" \ + PARABOLA_HACKERS_YAMLDIR="$PWD/.hackers-$_gitver/users" \ + cachedir="$PWD/.cachedir" + bsdtar xf "$pkgname-$pkgver.tar.gz" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="${pkgdir}" install +} |