diff --git a/x86_64/alacritty-cbsh/PKGBUILD b/x86_64/alacritty-cbsh/PKGBUILD index 77b8828..024a16d 100644 --- a/x86_64/alacritty-cbsh/PKGBUILD +++ b/x86_64/alacritty-cbsh/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Cameron Miller 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." diff --git a/x86_64/pikaur/PKGBUILD b/x86_64/pikaur/PKGBUILD index 63603fc..e3b878f 100644 --- a/x86_64/pikaur/PKGBUILD +++ b/x86_64/pikaur/PKGBUILD @@ -1,17 +1,19 @@ # Maintainer: Yauheni Kirylau # 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}")