summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin2017-02-16 14:35:45 +0100
committerFlorian Bruhin2017-02-16 14:38:23 +0100
commitf32200671544582e313369127e3c3bd97708cd58 (patch)
tree3f79c42da082680834bcc6e8b7f8db8d90cc615c
downloadaur-f32200671544582e313369127e3c3bd97708cd58.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD21
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dfb48f6f16b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Thu Feb 16 13:38:20 UTC 2017
+pkgbase = python-pysmb
+ pkgdesc = An experimental SMB/CIFS library written in Python
+ pkgver = 1.1.19
+ pkgrel = 1
+ url = https://miketeo.net/wp/index.php/projects/pysmb
+ arch = any
+ license = ZLIB
+ depends = python
+ depends = python-setuptools
+ depends = python-pyasn1
+ source = https://miketeo.net/files/Projects/pysmb/pysmb-1.1.19.zip
+ sha1sums = 668d0e87ca6d1b4d61bc6810d1ce6b0ae8511965
+
+pkgname = python-pysmb
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b881f8e33a1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
+
+pkgname=python-pysmb
+pkgver=1.1.19
+pkgrel=1
+pkgdesc="An experimental SMB/CIFS library written in Python"
+arch=(any)
+url="https://miketeo.net/wp/index.php/projects/pysmb"
+license=('ZLIB')
+depends=('python' 'python-setuptools' 'python-pyasn1')
+source=("https://miketeo.net/files/Projects/pysmb/pysmb-${pkgver}.zip")
+sha1sums=('668d0e87ca6d1b4d61bc6810d1ce6b0ae8511965')
+
+package() {
+ cd pysmb-$pkgver
+ python setup.py install --root="${pkgdir}" --optimize=1
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: