summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHolden Salomon2015-12-07 17:58:51 -0500
committerHolden Salomon2015-12-07 17:58:51 -0500
commita0608150706e303aff704586b73da96caf3cec6d (patch)
treedaa2f1294ece2f8ed59fdc62f9c9d7bd887cfdeb /PKGBUILD
downloadaur-python-hackchat.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..45b5a81985a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Holden Salomon <holden@cryptolab.net>
+pkgname=python-hackchat
+pkgver=0.1.4
+pkgrel=1
+pkgdesc="A library to work with hack.chat"
+arch=(any)
+url="https://github.com/gkbrk/hackchat/"
+license=(MIT)
+depends=(python python-websocket-client)
+makedepends=(git python-setuptools)
+options=(!emptydirs)
+source=("git+https://github.com/gkbrk/hackchat.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/hackchat"
+ python setup.py --version
+}
+
+package() {
+ cd "$srcdir/hackchat"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+