diff options
author | Harvey Hunt | 2015-10-03 14:23:29 +0100 |
---|---|---|
committer | Harvey Hunt | 2015-10-03 14:23:29 +0100 |
commit | e9acff7cda0902c8f0d5f2eea69ef394f6b7fbad (patch) | |
tree | ab1620aa254fdffd69a5712e1626941c379f04c9 | |
download | aur-i3situation-git.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | i3situation-git-1.0.5.r0.g3538925-1.src.tar.gz | bin | 0 -> 844 bytes |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..adb193feec31 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = i3situation-git + pkgdesc = A replacement for i3status written in Python 3 with support for huge customisability through plugins + pkgver = 1.0.5.r0.g3538925 + pkgrel = 1 + url = https://github.com/harveyhunt/i3situation + arch = any + license = GPL3 + makedepends = git + depends = python + depends = python-setuptools + optdepends = python-requests: For webscraping plugins + provides = i3situation + conflicts = i3situation + source = git+https://github.com/harveyhunt/i3situation + md5sums = SKIP + +pkgname = i3situation-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..538a2b8033b0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Harvey Hunt <harveyhuntnexus at gmail dot com> +# Contributor: Harvey Hunt + +pkgname=i3situation-git +pkgrel=1 +pkgver="1.0.5.r0.g3538925" +pkgdesc="A replacement for i3status written in Python 3 with support for huge customisability through plugins" +url="https://github.com/harveyhunt/i3situation" +arch=('any') +license=('GPL3') +conflicts=('i3situation') +provides=('i3situation') +depends=('python' 'python-setuptools') +makedepends=('git') +optdepends=('python-requests: For webscraping plugins') +source=("git+https://github.com/harveyhunt/i3situation") +md5sums=('SKIP') + +pkgver() { + cd i3situation + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + cd i3situation + python setup.py install --root="$pkgdir/" --optimize=1 + # doc + install -d "$pkgdir"/usr/share/doc/$pkgname + install -m644 README.md "$pkgdir"/usr/share/doc/$pkgname + # license + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} diff --git a/i3situation-git-1.0.5.r0.g3538925-1.src.tar.gz b/i3situation-git-1.0.5.r0.g3538925-1.src.tar.gz Binary files differnew file mode 100644 index 000000000000..c9743f241127 --- /dev/null +++ b/i3situation-git-1.0.5.r0.g3538925-1.src.tar.gz |