diff options
author | Caleb Maclennan | 2017-03-24 11:39:12 +0300 |
---|---|---|
committer | Caleb Maclennan | 2017-03-24 11:47:53 +0300 |
commit | febe88d330047b5b1a5589d09aa525b43a8df678 (patch) | |
tree | 01b0959ad392df339d76f675b5d2b815c5775b84 | |
download | aur-febe88d330047b5b1a5589d09aa525b43a8df678.tar.gz |
Initial commit based loosely on pip2pkgbuild
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..93b1e0fcb386 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Fri Mar 24 08:47:44 UTC 2017 +pkgbase = yq + pkgdesc = Command-line YAML processor - jq wrapper for YAML documents + pkgver = 2.0.2 + pkgrel = 1 + url = https://github.com/kislyuk/yq + arch = any + license = Apache + makedepends = python-setuptools + depends = python + source = https://files.pythonhosted.org/packages/source/y/yq/yq-2.0.2.tar.gz + sha256sums = 6582c1f33ea4b6cc5a42742ac7c41a63114fba69b95d1b1f2648f13fbb51aa24 + +pkgname = yq + depends = python + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f691300fb9eb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Caleb Maclennan <caleb@alerque.com> + +pkgname=yq +pkgver='2.0.2' +pkgrel=1 +pkgdesc="Command-line YAML processor - jq wrapper for YAML documents" +url="https://github.com/kislyuk/yq" +depends=('python') +makedepends=('python-setuptools') +license=('Apache') +arch=('any') +source=("https://files.pythonhosted.org/packages/source/y/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('6582c1f33ea4b6cc5a42742ac7c41a63114fba69b95d1b1f2648f13fbb51aa24') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py build +} + +package() { + depends+=() + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |