From 94f3900a28f784d1cf3af83cdc8ee0e5e2ced01b Mon Sep 17 00:00:00 2001 From: Alad Wenter Date: Thu, 8 Sep 2016 17:00:24 +0200 Subject: [PATCH] Switch to git tags, cherry-pick aurbuild fix --- .SRCINFO | 8 ++++---- PKGBUILD | 11 ++++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ad061da..c35a1ba 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Sep 4 18:57:44 UTC 2016 +# Thu Sep 8 15:00:16 UTC 2016 pkgbase = aurutils pkgdesc = helper tools for the arch user repository pkgver = 1.3.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/AladW/aurutils arch = any license = ISC @@ -19,8 +19,8 @@ pkgbase = aurutils optdepends = devtools: build in an nspawn container optdepends = vifm: improved build file interaction optdepends = datamash: check tsort input - source = https://github.com/AladW/aurutils/archive/1.3.2.tar.gz - sha256sums = e53797734034b3a93915af1fd2c0868494acb8e281a3403a8f2996535b043e1d + source = aurutils-1.3.2::git+https://github.com/AladW/aurutils#tag=1.3.2 + sha256sums = SKIP pkgname = aurutils diff --git a/PKGBUILD b/PKGBUILD index d12b9c3..16609ef 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,12 +1,10 @@ pkgname=aurutils pkgver=1.3.2 -pkgrel=1 +pkgrel=2 pkgdesc='helper tools for the arch user repository' arch=('any') url=https://github.com/AladW/aurutils license=('ISC') -source=("$url/archive/$pkgver.tar.gz") -sha256sums=('e53797734034b3a93915af1fd2c0868494acb8e281a3403a8f2996535b043e1d') depends=('pacman>=5' 'expac>=7' 'aria2>=1.23' 'git' 'jshon' 'repose' 'pacutils') checkdepends=('shellcheck') @@ -14,6 +12,13 @@ makedepends=('git') optdepends=('devtools: build in an nspawn container' 'vifm: improved build file interaction' 'datamash: check tsort input') +source=("$pkgname-$pkgver::git+$url#tag=$pkgver") +sha256sums=('SKIP') + +prepare() { + cd "$pkgname-$pkgver" + git cherry-pick 8ead5203711263b4b895bfd698fba0d021581412 +} check() { cd "$pkgname-$pkgver"