archrelease: copy trunk to community-any
[ArchLinux/community.git] / uwsgitop / repos / community-any / PKGBUILD
blob596d0c1599a99a366cc193769ec7f4d1ddb52d2c
1 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
2 pkgname=uwsgitop
3 pkgver=0.11
4 pkgrel=6
5 pkgdesc="uWSGI top-like app"
6 arch=('any')
7 url="https://github.com/xrmx/uwsgitop"
8 license=('MIT')
9 depends=('python-simplejson')
10 makedepends=('python-setuptools')
11 options=(!emptydirs)
12 source=("$pkgname-$pkgver.tar.gz::https://github.com/xrmx/$pkgname/archive/v$pkgver.tar.gz")
13 sha512sums=('bf75ce3b3a781f1ffd2b9bc75577808338dbd9e34dae8248b5fe89ce5989b4240bb11cb6132c95f081fc8b2fef4cd5cdacd5d9b421552ce7f87c9ae79a317d59')
15 package() {
16   cd "$srcdir/$pkgname-$pkgver"
17   python setup.py install --root="$pkgdir/" --optimize=1
19   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
20   install -Dm644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
23 # vim:set ts=2 sw=2 et: