Add 'aurutils/' from commit 'b630e598fea41bb51e737b73336239004dcc1bb6'

git-subtree-dir: aurutils
git-subtree-mainline: 05e337dbe1
git-subtree-split: b630e598fe
This commit is contained in:
Cedric Girard 2019-02-19 17:09:53 +01:00
commit 11c937e2f9
3 changed files with 70 additions and 0 deletions

27
aurutils/.SRCINFO Normal file
View File

@ -0,0 +1,27 @@
pkgbase = aurutils
pkgdesc = helper tools for the arch user repository
pkgver = 2.2.1
pkgrel = 1
url = https://github.com/AladW/aurutils
install = aurutils.install
arch = any
license = custom:ISC
depends = git
depends = jq
depends = expac
depends = diffstat
depends = pacutils
depends = parallel
depends = wget
optdepends = bash-completion: bash completion
optdepends = devtools: aur-chroot
optdepends = vifm: build file interaction
optdepends = xdelta3: generate delta files
source = aurutils-2.2.1.tar.gz::https://github.com/AladW/aurutils/archive/2.2.1.tar.gz
source = aurutils-2.2.1.tar.gz.asc::https://github.com/AladW/aurutils/releases/download/2.2.1/2.2.1.tar.gz.asc
validpgpkeys = DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A
sha256sums = 253795fef90bb00fa927d0472c4926bf87090ed089b7d77ff0568f166c738b60
sha256sums = SKIP
pkgname = aurutils

29
aurutils/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# Maintainer: Alad Wenter <alad@archlinux.org>
pkgname=aurutils
pkgver=2.2.1
pkgrel=1
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/$pkgver.tar.gz"
"$pkgname-$pkgver.tar.gz.asc::$url/releases/download/$pkgver/$pkgver.tar.gz.asc")
install=$pkgname.install
depends=('git' 'jq' 'expac' 'diffstat' 'pacutils' 'parallel' 'wget')
optdepends=('bash-completion: bash completion'
'devtools: aur-chroot'
'vifm: build file interaction'
'xdelta3: generate delta files')
sha256sums=('253795fef90bb00fa927d0472c4926bf87090ed089b7d77ff0568f166c738b60'
'SKIP')
validpgpkeys=('DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A') # Alad Wenter <alad@archlinux.org>
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}

14
aurutils/aurutils.install Normal file
View File

@ -0,0 +1,14 @@
post_upgrade() {
if (( $(vercmp '2.0.0-1' "$2") == 1 )); then
cat >&2 <<-EOF
As of 2.0.0, aurutils no longer supports repose. If you have repose installed,
please rebuild your local repository using repo-add. See:
https://bbs.archlinux.org/viewtopic.php?pid=1707649#p1707649
for detailed instructions. For the 2.0.0 changelog, see:
https://github.com/AladW/aurutils/releases/tag/2.0.0
EOF
fi
}