From a40161cf87b288fbff03e54b7a9b71f337366cf4 Mon Sep 17 00:00:00 2001 From: Alad Wenter Date: Sat, 26 Mar 2016 20:17:11 +0100 Subject: [PATCH] init --- .SRCINFO | 25 +++++++++++++++++++++++++ PKGBUILD | 29 +++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..e5e269b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +# Generated by mksrcinfo v8 +# Sat Mar 26 19:16:09 UTC 2016 +pkgbase = aurutils + pkgdesc = helper tools for the aur + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/AladW/aurutils + arch = any + license = ISC + checkdepends = shellcheck + makedepends = git + depends = pacman>=5.0 + depends = git + depends = repose + depends = jshon + depends = pacutils + depends = expac + depends = aria2 + optdepends = devtools: aurbuild -c + optdepends = vifm: improved build file interaction + source = https://github.com/AladW/aurutils/archive/0.1.0.tar.gz + md5sums = 5e1274effc335aa81d06696d47ad0df2 + +pkgname = aurutils + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e38800b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +pkgname=aurutils +pkgver=0.1.0 +pkgrel=1 +pkgdesc='helper tools for the aur' +arch=('any') +url='https://github.com/AladW/aurutils' +license=('ISC') +source=("$url/archive/0.1.0.tar.gz") +depends=('pacman>=5.0' 'git' 'repose' 'jshon' 'pacutils' 'expac' 'aria2') +checkdepends=('shellcheck') +makedepends=('git') +optdepends=('devtools: aurbuild -c' + 'vifm: improved build file interaction') + +check() { + cd aurutils + shellcheck -e 2016,2174 -x ./aur* repofind +} + +package() { + cd aurutils + install -d "$pkgdir"/usr/{bin,share{/licenses,/doc}/aurutils} + + install -m755 ./aur* repofind "$pkgdir"/usr/bin/ + install -m644 LICENSE "$pkgdir"/usr/share/licenses/aurutils/ + install -m644 CREDITS doc/* "$pkgdir"/usr/share/doc/aurutils/ +} + +md5sums=('5e1274effc335aa81d06696d47ad0df2')