summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cb282217e1049367f1caa28715f302c76c200ae8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Stick <stick@stma.is>

pkgname=python-roundrobin
_name=${pkgname#python-}
pkgver=0.0.2
pkgrel=1
pkgdesc="This is rather small collection of round robin utilites"
arch=('any')
url='https://github.com/linnik/roundrobin'
license=('MIT')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('ac30cb78570a36bb0ce0db7b907af9394ec7a5610ece2ede072280e8dd867caa')
provides=("$pkgname")
conflicts=("$pkgname")

build() {
	cd "$srcdir/$_name-$pkgver"
	python setup.py build
}

package() {
	cd "$srcdir/$_name-$pkgver"
	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}