diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 4 deletions
@@ -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 @@ -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 |