2013-02-25 16:27:56 +01:00
|
|
|
pkgname=osc
|
2015-01-13 16:54:45 +01:00
|
|
|
pkgver=0.150.1
|
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-01-13 16:54:45 +01:00
|
|
|
md5sums=('24a5313d364d46a1a03c443c50bfbc2b')
|
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
|
|
|
|
}
|