2013-02-25 16:27:56 +01:00
|
|
|
pkgname=osc
|
2015-06-30 15:37:22 +02:00
|
|
|
pkgver=0.152.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)
|
2015-06-30 15:37:22 +02:00
|
|
|
md5sums=('4a0b1194f52280d42dd50fe2a8adaa3a')
|
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
|
|
|
|
}
|