summaryrefslogtreecommitdiff
path: root/extra/pysmbc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pysmbc/PKGBUILD')
-rw-r--r--extra/pysmbc/PKGBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/extra/pysmbc/PKGBUILD b/extra/pysmbc/PKGBUILD
index 22c72d62d..895a5c1d1 100644
--- a/extra/pysmbc/PKGBUILD
+++ b/extra/pysmbc/PKGBUILD
@@ -1,31 +1,29 @@
-# $Id: PKGBUILD 206929 2014-03-06 10:57:48Z andrea $
+# $Id: PKGBUILD 210169 2014-04-10 15:47:29Z fyan $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Shane Peelar <lookatyouhacker@gm@il(d0t)c0m>
-pkgname=pysmbc
-pkgver=1.0.13
+pkgbase=pysmbc
+pkgname=python2-pysmbc
+_pypiname=pysmbc
+pkgver=1.0.14.1
pkgrel=2
pkgdesc="Python bindings for libsmbclient"
arch=('i686' 'x86_64')
url="http://pypi.python.org/pypi/pysmbc/"
license=('GPL')
depends=('python2' 'smbclient')
-source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'pkg-config.patch')
-md5sums=('019dbb3bc6ee217f7389a2330cda9fe0'
- '4b1d5498780181cdc9a217894c1cf85c')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- patch -p1 -i "${srcdir}"/pkg-config.patch
-}
+provides=('pysmbc')
+conflicts=('pysmbc')
+replaces=('pysmbc')
+source=("http://pypi.python.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.bz2")
+md5sums=('9299b5576cf838d07a5048ed22a5c1d4')
build(){
- cd ${pkgname}-${pkgver}
+ cd ${_pypiname}-${pkgver}
python2 setup.py build
}
-package() {
- cd ${pkgname}-${pkgver}
+package_python2-pysmbc() {
+ cd ${_pypiname}-${pkgver}
python2 setup.py install --root="$pkgdir" --optimize=1
}