Date: Sunday, July 8, 2018 @ 12:58:30 Author: foutrelis Revision: 354861
archrelease: copy trunk to community-staging-any Added: uwsgitop/repos/community-staging-any/ uwsgitop/repos/community-staging-any/PKGBUILD (from rev 354860, uwsgitop/trunk/PKGBUILD) ----------+ PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Copied: uwsgitop/repos/community-staging-any/PKGBUILD (from rev 354860, uwsgitop/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 12:58:30 UTC (rev 354861) @@ -0,0 +1,23 @@ +# Maintainer: Giancarlo Razzolini <grazzol...@archlinux.org> +pkgname=uwsgitop +pkgver=0.10 +pkgrel=2 +pkgdesc="uWSGI top-like app" +arch=('any') +url="https://github.com/xrmx/uwsgitop" +license=('MIT') +depends=('python-simplejson' 'python-argparse') +makedepends=('python-setuptools') +options=(!emptydirs) +source=("$pkgname-$pkgver.tar.gz::https://github.com/xrmx/$pkgname/archive/v$pkgver.tar.gz") +sha512sums=('c8f019e518d464b873ff6404b8c156b6d03732cd09b1dea647fd9e8c79124c8c6a2eeb155001562596b16f031902449ab374ae50d1f92a79771cc438f5c0af98') + +package() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 README.rst -t "$pkgdir/usr/share/doc/$pkgname" +} + +# vim:set ts=2 sw=2 et: