update Pikaur to 1.9
This commit is contained in:
parent
e57cc86818
commit
73808fadb5
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Cameron Miller <cameron@codecameron.dev>
|
||||
pkgname=alacritty-cbsh
|
||||
_pkgname=cbsh-configs
|
||||
pkgver=1.0.r26.a8e544d
|
||||
pkgver=1.0.r27.50b5cd2
|
||||
pkgrel=1
|
||||
epoch=
|
||||
pkgdesc="The Default Alacritty Config for CBSH."
|
||||
|
|
|
|||
|
|
@ -1,17 +1,19 @@
|
|||
# Maintainer: Yauheni Kirylau <actionless dot loveless AT gmail.com>
|
||||
# shellcheck disable=SC2034,SC2154
|
||||
|
||||
pkgname=pikaur
|
||||
pkgver=1.8
|
||||
pkgname=pikaur-git
|
||||
pkgver=1.9
|
||||
pkgrel=1
|
||||
pkgdesc="AUR helper which asks all questions before installing/building. Inspired by pacaur, yaourt and yay."
|
||||
arch=('any')
|
||||
url="https://github.com/actionless/pikaur"
|
||||
license=('GPL3')
|
||||
source=(
|
||||
"$pkgname-$pkgver.tar.gz"::https://github.com/actionless/pikaur/archive/"$pkgver".tar.gz
|
||||
"$pkgname::git+https://github.com/actionless/pikaur.git#branch=master"
|
||||
)
|
||||
md5sums=(
|
||||
"SKIP"
|
||||
)
|
||||
md5sums=('554bb362dc8691026c3d49ef0a43be8e')
|
||||
depends=(
|
||||
'pyalpm'
|
||||
'git'
|
||||
|
|
@ -23,17 +25,23 @@ optdepends=(
|
|||
'asp: for ABS support in -G/--getpkgbuild operation'
|
||||
'python-pysocks: for socks5 proxy support'
|
||||
)
|
||||
conflicts=('pikaur-git')
|
||||
conflicts=('pikaur')
|
||||
provides=('pikaur')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${pkgname}" || exit 2
|
||||
set -o pipefail
|
||||
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || echo 0.0.1
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}" || exit 2
|
||||
cd "${srcdir}/${pkgname}" || exit 2
|
||||
sed -i -e "s/VERSION.*=.*/VERSION = '${pkgver}'/g" pikaur/config.py
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}" || exit 2
|
||||
cd "${srcdir}/${pkgname}" || exit 2
|
||||
/usr/bin/python3 setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1
|
||||
for langmo in $(cd ./locale && ls ./*.mo); do
|
||||
lang=$(sed -e 's/.mo$//' <<< "${langmo}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user