Date: Saturday, September 29, 2018 @ 18:05:11 Author: foxboron Revision: 387935
archrelease: copy trunk to community-any Added: py3status/repos/community-any/ py3status/repos/community-any/PKGBUILD (from rev 387934, py3status/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: py3status/repos/community-any/PKGBUILD (from rev 387934, py3status/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2018-09-29 18:05:11 UTC (rev 387935) @@ -0,0 +1,30 @@ +# 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") +sha256sums=('c6e1c6d1984265b705e3beac8d6b47d88432cdeca80f09d3fbc05c4c5a2a2a07') + +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 +}