osc/PKGBUILD
Marco Strigl b68ac4116b - 0.157
- add unpublish command (requires OBS 2.8)
  - add blame command (requires OBS 2.9)
  - results: show multibuild results by default
  - getbinaries: make .AppImage files executable
  - support operation in checked out package for cat/less/blame
  - add comment command
  - improved build recipe selection
  - added multibuild (-M) to commands:
          buildlog, remotebuildlog, buildinfo, build, buildhistory, jobhistory,
          rebuild, restartbuild/abortbuild, wipebinaries, getbinaries
  - add checkconstraints command
  - add workerinfo command

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=235
2017-03-08 09:11:35 +00:00

20 lines
490 B
Bash

pkgname=osc
pkgver=0.157.0
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
}