diff options
author | Daniel Moch | 2018-07-31 05:58:35 -0400 |
---|---|---|
committer | Daniel Moch | 2018-07-31 05:58:35 -0400 |
commit | 9e92d316a73a869226cbb7dc16266797d476596c (patch) | |
tree | 4b56d36d3421e838f65404e7e90df2f167cd1db0 | |
download | aur-9e92d316a73a869226cbb7dc16266797d476596c.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dab561263933 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = nncli + pkgdesc = NextCloud Notes Command Line Interface + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/djmoch/nncli + arch = any + license = MIT + makedepends = python-setuptools + depends = python-urwid + depends = python-requests + source = nncli-0.1.0.tar.gz::https://files.pythonhosted.org/packages/0c/65/9460a35a3e53c960fe0114658f1bccb9b7539a78ae1a46be05d3362173f8/nncli-0.1.0.tar.gz + sha256sums = ecf341cd143f8b8147e6970715503f3ccb8386ee8a2a2b15c37a68078e280acc + +pkgname = nncli diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..924dfb95c209 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +pkg/ +src/ +*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4b5c60b8a9da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Daniel Moch <daniel@danielmoch.com> +pkgname=nncli +pkgver=0.1.0 +pkgrel=1 +pkgdesc="NextCloud Notes Command Line Interface" +arch=('any') +url="https://github.com/djmoch/${pkgname}" +license=('MIT') +depends=('python-urwid' 'python-requests') +makedepends=('python-setuptools') +source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/0c/65/9460a35a3e53c960fe0114658f1bccb9b7539a78ae1a46be05d3362173f8/${pkgname}-${pkgver}.tar.gz") +sha256sums=('ecf341cd143f8b8147e6970715503f3ccb8386ee8a2a2b15c37a68078e280acc') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim: ft=PKGBUILD ts=2 sw=2 et |