2013-02-25 16:27:56 +01:00
|
|
|
pkgname=osc
|
2021-07-21 10:59:16 +02:00
|
|
|
pkgver=0.174.0
|
2013-06-20 10:51:39 +02:00
|
|
|
pkgrel=0
|
2013-02-25 16:27:56 +01:00
|
|
|
pkgdesc="Open Build Service client"
|
2020-02-18 09:49:23 +01:00
|
|
|
arch=('x86_64')
|
2013-02-25 16:27:56 +01:00
|
|
|
url="https://www.github.com/openSUSE/osc"
|
|
|
|
license=('GPL-2.0+' 'GPL-2.0')
|
|
|
|
groups=('base-devel')
|
2020-02-18 09:49:23 +01:00
|
|
|
depends=('python-m2crypto')
|
|
|
|
makedepends=('python-setuptools')
|
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
|
|
|
|
2020-02-18 09:49:23 +01:00
|
|
|
build() {
|
|
|
|
cd "${srcdir}"/osc-${pkgver}
|
|
|
|
python setup.py build
|
|
|
|
}
|
|
|
|
|
2013-02-25 16:27:56 +01:00
|
|
|
package() {
|
|
|
|
msg "Installing osc ..."
|
|
|
|
cd "${srcdir}"/osc-${pkgver}
|
2020-02-18 09:49:23 +01:00
|
|
|
python setup.py install --root="${pkgdir}/" --optimize=1 --prefix=/usr
|
2013-02-25 16:27:56 +01:00
|
|
|
ln -s osc-wrapper.py ${pkgdir}/usr/bin/osc
|
|
|
|
}
|