summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2019-07-10 10:06:43 +0300
committerYuval Adam <_@yuv.al>2019-07-10 10:06:43 +0300
commit36e26114499943051eeec8029ac114defb8114db (patch)
tree4185fe5e52eb3e26a692fd0586258d7fb530062c
parent6f8428fc95e931e1d2bb974edd35fadea694804e (diff)
Initial pygreat-git package
-rw-r--r--aur/pygreat-git/.SRCINFO15
-rw-r--r--aur/pygreat-git/PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/aur/pygreat-git/.SRCINFO b/aur/pygreat-git/.SRCINFO
new file mode 100644
index 0000000..e9c79df
--- /dev/null
+++ b/aur/pygreat-git/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = pygreat-git
+ pkgdesc = A library to help you do Great things
+ pkgver = v2019.5.1.dev0.6.g1e982b2
+ pkgrel = 1
+ url = https://github.com/yuvadm/libgreat
+ arch = any
+ license = BSD
+ depends = python-pyusb
+ depends = python-future
+ provides = pygreat
+ source = git+https://github.com/yuvadm/libgreat
+ sha1sums = SKIP
+
+pkgname = pygreat-git
+
diff --git a/aur/pygreat-git/PKGBUILD b/aur/pygreat-git/PKGBUILD
new file mode 100644
index 0000000..e68aec6
--- /dev/null
+++ b/aur/pygreat-git/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Yuval Adam <aur at yuv dot al> PGP-Key: 55E36E28535222E2A2062848B75B5FC2FA1AFE15
+
+pkgname=pygreat-git
+pkgver=v2019.5.1.dev0.6.g1e982b2
+pkgrel=1
+pkgdesc="A library to help you do Great things"
+arch=('any')
+url="https://github.com/greatscottgadgets/libgreat"
+license=(BSD)
+depends=('python-pyusb' 'python-future')
+provides=('pygreat')
+source=("git+${url}")
+sha1sums=('SKIP')
+_gitname=libgreat
+
+pkgver() {
+ cd $_gitname
+ echo $(git describe --always | sed 's/-/./g')
+}
+
+package() {
+ cd "${_gitname}/host"
+ python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: