summaryrefslogtreecommitdiff
path: root/reflector32/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-06-01 21:24:00 +0200
committerErich Eckner <git@eckner.net>2021-06-01 21:24:00 +0200
commit41d3efa109f6a3cd0d95235d6a8735449928fbe2 (patch)
treec667f798765554412c1b0f434640dcea5f2ff55a /reflector32/PKGBUILD
parent4312f5558c96368a823d86240589eec9c23f4959 (diff)
downloadarchlinuxewe-41d3efa109f6a3cd0d95235d6a8735449928fbe2.tar.xz
reflector32: fix paths
Diffstat (limited to 'reflector32/PKGBUILD')
-rw-r--r--reflector32/PKGBUILD16
1 files changed, 14 insertions, 2 deletions
diff --git a/reflector32/PKGBUILD b/reflector32/PKGBUILD
index 7af59f28e..af85e6026 100644
--- a/reflector32/PKGBUILD
+++ b/reflector32/PKGBUILD
@@ -3,7 +3,7 @@
# repo: releng
pkgname=reflector32
pkgver=2021.4
-pkgrel=1
+pkgrel=2
pkgdesc='A Python 3 module and script to retrieve and filter the latest Pacman mirror list for Archlinux32.'
arch=(any)
license=(GPL)
@@ -20,7 +20,19 @@ validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A' '38ACA6A026D25CDD227D24
prepare() {
cd "$srcdir/$pkgname-$pkgver"
- sed -i 's/\b[Rr]eflector\b/\032/g' setup.py reflector Reflector.py
+ sed -i '
+ s/\b[Rr]eflector\b/\032/g
+ ' \
+ setup.py \
+ reflector \
+ Reflector.py
+ sed -i '
+ s/\b[Rr]eflector\b/\032/g
+ s/\bmirrorlist\b/\032/g
+ s@/etc/xdg/reflector32/reflector32@/etc/xdg/reflector/reflector32@
+ ' \
+ reflector.service \
+ reflector.conf
mv reflector{,32}
mv Reflector{,32}.py
}