aa0a0dde78
- removed "--diff" option from the "createrequest" command - introduced new "vc-cmd" config option, which is used to specify the path to the vc script - various bugfixes OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=183
20 lines
518 B
Bash
20 lines
518 B
Bash
pkgname=osc
|
|
pkgver=0.149.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=('python2' 'python2-m2crypto' 'urlgrabber')
|
|
source=(osc-${pkgver}.tar.gz)
|
|
md5sums=('3c31fb9a5c5bd6f9c05d72380fabfef1')
|
|
|
|
package() {
|
|
msg "Installing osc ..."
|
|
cd "${srcdir}"/osc-${pkgver}
|
|
python2 setup.py build
|
|
python2 setup.py install --prefix=/usr --root=${pkgdir}
|
|
ln -s osc-wrapper.py ${pkgdir}/usr/bin/osc
|
|
}
|