summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin2017-02-16 14:38:59 +0100
committerFlorian Bruhin2017-02-16 14:38:59 +0100
commitf6536290ead577a7d79230576b79e901ea62ed0b (patch)
treee662529fc836aab4474aee06fd7ff2388077d444
downloadaur-f6536290ead577a7d79230576b79e901ea62ed0b.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD26
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b45aaee81eb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Thu Feb 16 13:38:52 UTC 2017
+pkgbase = openhsr-connect-git
+ pkgdesc = An open alternative to HSR Mapper for HSR students
+ pkgver = r104.adc7c2f
+ pkgrel = 1
+ url = https://github.com/openhsr/connect
+ arch = any
+ license = GPL3
+ depends = python
+ depends = python-setuptools
+ depends = python-pysmb
+ depends = python-click
+ depends = python-yaml
+ depends = python-keyring
+ depends = python-jsonschema
+ optdepends = python-keyrings-alt: To use connect without a system keyring
+ source = git+https://github.com/openhsr/connect.git
+ sha1sums = SKIP
+
+pkgname = openhsr-connect-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f957032edff
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
+
+pkgname=openhsr-connect-git
+pkgver=r104.adc7c2f
+pkgrel=1
+pkgdesc="An open alternative to HSR Mapper for HSR students"
+arch=(any)
+url="https://github.com/openhsr/connect"
+license=('GPL3')
+depends=('python' 'python-setuptools' 'python-pysmb' 'python-click'
+ 'python-yaml' 'python-keyring' 'python-jsonschema')
+optdepends=('python-keyrings-alt: To use connect without a system keyring')
+source=("git+https://github.com/openhsr/connect.git")
+sha1sums=('SKIP')
+
+pkgver() {
+ cd connect
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd connect
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: