1
0
forked from pool/osc

adding arch linux file, fails because they do not have urllib2

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=131
This commit is contained in:
Adrian Schröter 2013-02-25 15:27:56 +00:00 committed by Git OBS Bridge
parent d5d7809566
commit a8bd893f21

19
PKGBUILD Normal file
View File

@ -0,0 +1,19 @@
pkgname=osc
pkgver=0.139.0
pkgrel=1
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')
source=(osc-${pkgver}.tar.gz)
md5sums=('a9755d0ba9d8105c50f8d2ffe31dc347')
package() {
msg "Installing osc ..."
cd "${srcdir}"/osc-${pkgver}
python setup.py build
python setup.py install --prefix=/usr --root=${pkgdir}
ln -s osc-wrapper.py ${pkgdir}/usr/bin/osc
}