2013-02-25 16:27:56 +01:00
|
|
|
pkgname=osc
|
2019-10-28 13:57:07 +01:00
|
|
|
pkgver=0.166.0
|
2013-06-20 10:51:39 +02:00
|
|
|
pkgrel=0
|
2013-02-25 16:27:56 +01:00
|
|
|
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')
|
2014-04-03 12:03:59 +02:00
|
|
|
depends=('python2' 'python2-m2crypto' 'urlgrabber')
|
2013-02-25 16:27:56 +01:00
|
|
|
source=(osc-${pkgver}.tar.gz)
|
2016-03-04 08:29:01 +01:00
|
|
|
md5sums=('SKIP')
|
2013-02-25 16:27:56 +01:00
|
|
|
|
|
|
|
package() {
|
|
|
|
msg "Installing osc ..."
|
|
|
|
cd "${srcdir}"/osc-${pkgver}
|
2014-03-18 14:43:30 +01:00
|
|
|
python2 setup.py build
|
|
|
|
python2 setup.py install --prefix=/usr --root=${pkgdir}
|
2013-02-25 16:27:56 +01:00
|
|
|
ln -s osc-wrapper.py ${pkgdir}/usr/bin/osc
|
|
|
|
}
|