summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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..86a107a22e9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = zget
+ pkgdesc = Zeroconf based peer to peer file transfer
+ pkgver = 0.10
+ pkgrel = 1
+ url = https://github.com/nils-werner/zget
+ arch = any
+ license = MIT
+ depends = python
+ depends = python-netifaces
+ depends = python-progressbar2
+ depends = python-requests
+ depends = python-zeroconf
+ source = https://github.com/nils-werner/zget/archive/0.10.tar.gz
+ sha256sums = b72435578be80fe8eb5cd836a3e53550e5da88e987ddd3c04c2e3ac504cc770b
+
+pkgname = zget
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ac153992515
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Maxim Andersson <thesilentboatman@gmail.com>
+
+pkgname=zget
+pkgver=0.10
+pkgrel=1
+pkgdesc="Zeroconf based peer to peer file transfer"
+arch=('any')
+url="https://github.com/nils-werner/zget"
+license=('MIT')
+depends=('python' 'python-netifaces' 'python-progressbar2' 'python-requests' 'python-zeroconf')
+source=("https://github.com/nils-werner/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('b72435578be80fe8eb5cd836a3e53550e5da88e987ddd3c04c2e3ac504cc770b')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: