From 925420f806bff6a7ee3d7874db08e19f17677d8e Mon Sep 17 00:00:00 2001 From: Alexis 'Horgix' Chotard Date: Tue, 7 Jul 2015 09:32:45 +0000 Subject: [PATCH] Initial commit: import from AUR3 --- .SRCINFO | 18 ++++++++++++++++++ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..130b455 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = py3status-git + pkgdesc = An extensible i3status replacement/wrapper written in python (development version) + pkgver = 2.4.r42.gc4535a4 + pkgrel = 1 + url = https://github.com/ultrabug/py3status + arch = any + license = custom: Simplified BSD + makedepends = git + depends = python + depends = python-setuptools + optdepends = i3status: for some of the functionality + provides = py3status + conflicts = py3status + source = git+https://github.com/ultrabug/py3status.git + md5sums = SKIP + +pkgname = py3status-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..7fd6f11 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: carstene1ns - http://git.io/ctPKG +# Contributor: Johannes Fürmann + +pkgname=py3status-git +pkgver=2.4.r42.gc4535a4 +pkgrel=1 +pkgdesc="An extensible i3status replacement/wrapper written in python (development version)" +url="https://github.com/ultrabug/py3status" +arch=('any') +license=('custom: Simplified BSD') +conflicts=('py3status') +provides=('py3status') +depends=('python' 'python-setuptools') +makedepends=('git') +optdepends=('i3status: for some of the functionality') +source=("git+https://github.com/ultrabug/py3status.git") +md5sums=('SKIP') + +pkgver() { + cd py3status + git describe --long --tags | sed 's/-/.r/;s/-/./g' +} + +package() { + cd py3status + python setup.py install --root="$pkgdir/" --optimize=1 + # doc + install -d "$pkgdir"/usr/share/doc/$pkgname + install -m644 doc/* README.rst CHANGELOG "$pkgdir"/usr/share/doc/$pkgname + # license + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}