summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoryar2015-12-09 21:29:01 -0800
committeryar2015-12-09 21:29:01 -0800
commitd638e050e964d4b5254df2f281e59251c58896cf (patch)
treea235b4a9d3ab55c5af117f7741c53d15a8755c1e /PKGBUILD
downloadaur-d638e050e964d4b5254df2f281e59251c58896cf.tar.gz
it works now - separate from pkgbuilds repo
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..86f035f797e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Yardena Cohen <yardenack at gmail dot com>
+
+gitname=pickups
+pkgname=python-${gitname}-git
+pkgver=36.b25967e
+pkgrel=1
+pkgdesc='IRC gateway for Google Hangouts'
+arch=('any')
+license=('MIT')
+url="https://github.com/mtomwing/${gitname}"
+depends=('python' 'hangups-git')
+makedepends=('python-setuptools')
+source=("git+$url.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${gitname}"
+ local ver="$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ printf "%s" "${ver//-/.}"
+}
+
+
+package() {
+ mkdir -p "${pkgdir}//usr/lib/python3.5/site-packages"
+ cp -a "${srcdir}/${gitname}/${gitname}" "${pkgdir}//usr/lib/python3.5/site-packages/${gitname}"
+}