Switch to git tags, cherry-pick aurbuild fix

This commit is contained in:
Alad Wenter 2016-09-08 17:00:24 +02:00
parent 6c9bb4edd9
commit 94f3900a28
2 changed files with 12 additions and 7 deletions

View file

@ -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

View file

@ -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"