1
0
forked from pool/osc
osc-fork/PKGBUILD
Marco Strigl 1eecdfa076 - 0.165.4 (boo#1144211)
* allow optional fork when creating a maintenance request
   * fix RPMError fallback
   * fix local caching for all package formats
   * fix appname for trusted cert store
   * osc -h does not break anymore when using plugins

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=298
2019-08-05 06:55:44 +00:00

20 lines
490 B
Bash

pkgname=osc
pkgver=0.165.4
pkgrel=0
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')
depends=('python2' 'python2-m2crypto' 'urlgrabber')
source=(osc-${pkgver}.tar.gz)
md5sums=('SKIP')
package() {
msg "Installing osc ..."
cd "${srcdir}"/osc-${pkgver}
python2 setup.py build
python2 setup.py install --prefix=/usr --root=${pkgdir}
ln -s osc-wrapper.py ${pkgdir}/usr/bin/osc
}