aurutils: fix aur --version output

This commit is contained in:
Alad Wenter 2021-12-06 14:59:42 +01:00
parent 30e09960c6
commit 54ba74020d
2 changed files with 13 additions and 4 deletions

View File

@ -1,7 +1,7 @@
pkgbase = aurutils
pkgdesc = helper tools for the arch user repository
pkgver = 3.2.0
pkgrel = 1
pkgrel = 2
url = https://github.com/AladW/aurutils
install = aurutils.install
changelog = aurutils.changelog
@ -17,6 +17,8 @@ pkgbase = aurutils
optdepends = devtools: aur-chroot
optdepends = vifm: default pager
source = aurutils-3.2.0.tar.gz::https://github.com/AladW/aurutils/archive/refs/tags/3.2.0.tar.gz
source = fix-version.patch::https://github.com/AladW/aurutils/commit/483e6636c079f12b72287a7e32c68836e977d508.patch
sha256sums = 60214a21a05b2dfe5f9e14b58a0c8beacc1a82841022956d60ac29e77f5e21da
sha256sums = 5576d1e3db0b4111caa55e460e923b0f43a2d6d544a2b2e7654ef7abc797e59d
pkgname = aurutils

View File

@ -1,21 +1,28 @@
# Maintainer: Alad Wenter <https://github.com/AladW>
pkgname=aurutils
pkgver=3.2.0
pkgrel=1
pkgrel=2
pkgdesc='helper tools for the arch user repository'
url='https://github.com/AladW/aurutils'
arch=('any')
license=('custom:ISC')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
"fix-version.patch::$url/commit/483e6636c079f12b72287a7e32c68836e977d508.patch")
changelog=aurutils.changelog
install=aurutils.install
sha256sums=('60214a21a05b2dfe5f9e14b58a0c8beacc1a82841022956d60ac29e77f5e21da')
sha256sums=('60214a21a05b2dfe5f9e14b58a0c8beacc1a82841022956d60ac29e77f5e21da'
'5576d1e3db0b4111caa55e460e923b0f43a2d6d544a2b2e7654ef7abc797e59d')
depends=('git' 'jq' 'pacutils' 'curl' 'expect')
optdepends=('bash-completion: bash completion'
'zsh: zsh completion'
'devtools: aur-chroot'
'vifm: default pager')
prepare() {
cd "$pkgname-$pkgver"
patch -p1 < "$srcdir"/fix-version.patch
}
build() {
cd "$pkgname-$pkgver"
make