Adrian Schröter
f625d7c977
Update arch PKGBUILD file for python-3.8. OBS-URL: https://build.opensuse.org/request/show/763989 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=322
25 lines
551 B
Bash
25 lines
551 B
Bash
pkgname=osc
|
|
pkgver=0.167.2
|
|
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
|
|
}
|