pkgname=osc pkgver=0.142.0 pkgrel=0 pkgdesc="Open Build Service client" arch=('i686' 'x86_64') url="https://www.github.com/openSUSE/osc" license=('GPL-2.0+' 'GPL-2.0') groups=('base-devel') depends=('python') source=(osc-${pkgver}.tar.gz) md5sums=('4f60a6cafbc38c1ca9a48fb4705d01c0') package() { msg "Installing osc ..." cd "${srcdir}"/osc-${pkgver} python setup.py build python setup.py install --prefix=/usr --root=${pkgdir} ln -s osc-wrapper.py ${pkgdir}/usr/bin/osc }