From a8bd893f212559f2f1f42db07ee1ceb5cc3412e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 25 Feb 2013 15:27:56 +0000 Subject: [PATCH] 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 --- PKGBUILD | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..fb4aaf0 --- /dev/null +++ b/PKGBUILD @@ -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 +}