2013-02-25 16:27:56 +01:00
|
|
|
pkgname=osc
|
2014-02-28 21:54:45 +01:00
|
|
|
pkgver=0.144.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')
|
2013-04-16 15:47:27 +02:00
|
|
|
depends=('python')
|
2013-02-25 16:27:56 +01:00
|
|
|
source=(osc-${pkgver}.tar.gz)
|
2014-02-28 21:54:45 +01:00
|
|
|
md5sums=('d6f0d72f1716d5e57ef02b3ff8a101d8')
|
2013-02-25 16:27:56 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|