Date: Saturday, September 29, 2018 @ 18:01:48 Author: foxboron Revision: 387932
upgpkg: py3status 3.13-1 Added: py3status/ py3status/repos/ py3status/trunk/ py3status/trunk/PKGBUILD Deleted: py3status/ ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Added: py3status/trunk/PKGBUILD =================================================================== --- py3status/trunk/PKGBUILD (rev 0) +++ py3status/trunk/PKGBUILD 2018-09-29 18:01:48 UTC (rev 387932) @@ -0,0 +1,32 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Alexis "Horgix" Chotard <alexis.horgix.chot...@gmail.com> +# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG + +pkgname=py3status +pkgver=3.13 +pkgrel=1 +pkgdesc="An extensible i3status replacement/wrapper written in python" +url="http://www.ultrabug.fr/tag/py3status/" +arch=('any') +license=('BSD') +depends=('python' 'python-setuptools' 'i3status') +optdepends=('i3status: for some of the functionality' + 'acpi: for some of the battery related modules' + 'pacman-contrib: for the arch_updates module') +source=($pkgname-$pkgver.tar.gz::"https://github.com/ultrabug/py3status/archive/$pkgver.tar.gz" + "fix_to_ascii.patch") +sha256sums=('c6e1c6d1984265b705e3beac8d6b47d88432cdeca80f09d3fbc05c4c5a2a2a07' + 'bf3d79664e0f6974b52a84c386663969b6394fc1c5f4680f6eaae24a8b459de9') + +build() { + cd $pkgname-$pkgver + python setup.py build +} + +package() { + cd $pkgname-$pkgver + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -d "$pkgdir"/usr/share/doc/$pkgname + install -m644 doc/* README.rst CHANGELOG "$pkgdir"/usr/share/doc/$pkgname + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}