Adrian Schröter
ca7c7d26de
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=161
20 lines
483 B
Bash
20 lines
483 B
Bash
pkgname=osc
|
|
pkgver=0.143.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=('ad1f262fbb93e6a4c132d615648e6bbe')
|
|
|
|
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
|
|
}
|