Marco Strigl
5358b2b507
* maintainer search: lookup via package name by default and binary as fallback * fix crash on console resize when downloading files during build * add proper repourls to osc reporuls * new command osc releaserequest: This command is used to transfer sources and binaries without rebuilding them. It requires defined release targets set to trigger="manual". * some improvements on output of help and error messages OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=342
25 lines
551 B
Bash
25 lines
551 B
Bash
pkgname=osc
|
|
pkgver=0.171.0
|
|
pkgrel=0
|
|
pkgdesc="Open Build Service client"
|
|
arch=('x86_64')
|
|
url="https://www.github.com/openSUSE/osc"
|
|
license=('GPL-2.0+' 'GPL-2.0')
|
|
groups=('base-devel')
|
|
depends=('python-m2crypto')
|
|
makedepends=('python-setuptools')
|
|
source=(osc-${pkgver}.tar.gz)
|
|
md5sums=('SKIP')
|
|
|
|
build() {
|
|
cd "${srcdir}"/osc-${pkgver}
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
msg "Installing osc ..."
|
|
cd "${srcdir}"/osc-${pkgver}
|
|
python setup.py install --root="${pkgdir}/" --optimize=1 --prefix=/usr
|
|
ln -s osc-wrapper.py ${pkgdir}/usr/bin/osc
|
|
}
|