diff --git a/aurutils/.SRCINFO b/aurutils/.SRCINFO new file mode 100644 index 0000000..d2b3174 --- /dev/null +++ b/aurutils/.SRCINFO @@ -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 + diff --git a/aurutils/PKGBUILD b/aurutils/PKGBUILD new file mode 100644 index 0000000..ef29402 --- /dev/null +++ b/aurutils/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Alad Wenter +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 + +build() { + cd "$pkgname-$pkgver" + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/aurutils/aurutils.install b/aurutils/aurutils.install new file mode 100644 index 0000000..a262c0f --- /dev/null +++ b/aurutils/aurutils.install @@ -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 +}