summaryrefslogtreecommitdiff
path: root/libre/reflector/PKGBUILD
diff options
context:
space:
mode:
authorgrizzlyuser <grizzlyuser@protonmail.com>2020-04-07 16:37:05 +0300
committerAndreas Grapentin <andreas@grapentin.org>2020-04-09 11:34:09 +0200
commit9876f782ec415db7a879d5e25f8a7b5fcde5c4de (patch)
tree881985359cc0786df82752e11e268ebebf9771b1 /libre/reflector/PKGBUILD
parent478427f6e989a64c91cc50da6c2bd2ff4a8a6de4 (diff)
downloadabslibre-9876f782ec415db7a879d5e25f8a7b5fcde5c4de.tar.gz
abslibre-9876f782ec415db7a879d5e25f8a7b5fcde5c4de.tar.bz2
abslibre-9876f782ec415db7a879d5e25f8a7b5fcde5c4de.zip
libre/reflector 2020.3.21.2-1: Sync with Arch Linux, update rebranding
Signed-off-by: Andreas Grapentin <andreas@grapentin.org>
Diffstat (limited to 'libre/reflector/PKGBUILD')
-rw-r--r--libre/reflector/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/libre/reflector/PKGBUILD b/libre/reflector/PKGBUILD
index ba202b072..ab95cbdec 100644
--- a/libre/reflector/PKGBUILD
+++ b/libre/reflector/PKGBUILD
@@ -1,10 +1,11 @@
# Maintainer (Arch): Xyne <ac xunilhcra enyx, backwards>
# Maintainer (Hyperbola): André Silva <emulatorman@parabola.nu>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Contributor: grizzlyuser <grizzlyuser@protonmail.com>
pkgname=reflector
-pkgver=2019.10
-pkgrel=2.parabola1
+pkgver=2020.3.21.2
+pkgrel=1
pkgdesc='A Python 3 module and script to retrieve and filter the latest Pacman mirror list (Parabola rebranded)'
arch=(any)
license=(GPL)
@@ -18,9 +19,9 @@ source=(
https://xyne.archlinux.ca/projects/reflector/src/reflector-${pkgver}.tar.xz.sig
rebranding.patch
)
-sha512sums=('9f39934456840f1a86036ed71eb942fff92a9b2cb7d0f679e1e9ab371ae21cc4da7035ba4dcc88919ceab41d45f5d07ae3abe336037d1785dc8231df0c97eb6c'
+sha512sums=('cdb1ae3806fca6dd7dd7dccc75ef677e70ceec5d61b140315ef88540513abd7131dc2260f261444d801490368ab73194c7718d974c6191c7c354fcb811ba35e2'
'SKIP'
- 'c38c90c428b9761e84d4cbc1cf6a679772264ae5a8aafc4cc961fa5fd1f63ef0628a9621944f2b51ff54d8092dea5cdfdb4d1d07b6c39c4ca57f0f50a942b923')
+ 'f9b86f7b63398adcd037a332d9f335b35f5a3dee7aeeb3b38e6ae11ed3b038c82bf47f9e94281bb2d1942f10056197209ce48433f1769f26554dbff6c9ad69ec')
validpgpkeys=('EC3CBE7F607D11E663149E811D1F0DC78F173680')
@@ -28,7 +29,9 @@ prepare ()
{
cd "$srcdir/$pkgname-$pkgver"
# Rebranding for Parabola
+ gunzip "man/${pkgname}.1.gz"
patch -Np1 -i "$srcdir/rebranding.patch"
+ gzip "man/${pkgname}.1"
}
package ()
@@ -36,4 +39,5 @@ package ()
cd "$srcdir/$pkgname-$pkgver"
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm755 "$srcdir/$pkgname-$pkgver/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 "man/${pkgname}.1.gz" "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
}