summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorljurk2020-03-21 01:46:03 +0100
committerljurk2020-03-21 01:46:03 +0100
commit812c1d5aaf1b623563b5fda5ead9544b6baca54c (patch)
treefffc7fafdad1b2ba9451e0d1cf5f6a2552739315
downloadaur-812c1d5aaf1b623563b5fda5ead9544b6baca54c.tar.gz
init
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD33
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d130e7197f7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-jiramenu-git
+ pkgdesc = Dmenu/Rofi frontend for jira
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/ljurk/jiramenu
+ arch = any
+ license = GPLv3
+ makedepends = git
+ depends = python
+ optdepends = dmenu: either dmenu or rofi is required
+ optdepends = rofi: either dmenu or rofi is required
+ provides = python-jiramenu
+ conflicts = python-jiramenu
+ source = git://github.com/ljurk/jiramenu.git
+ md5sums = SKIP
+
+pkgname = python-jiramenu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4baa9827ab5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Lukas Jurk <ljurk@pm.me>
+_pkgname=python-jiramenu
+_gitname=jiramenu
+pkgname=$_pkgname-git
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="Dmenu/Rofi frontend for jira"
+
+arch=('any')
+url="https://github.com/ljurk/jiramenu"
+license=('GPLv3')
+depends=('python')
+makedepends=('git')
+optdepends=('dmenu: either dmenu or rofi is required'
+ 'rofi: either dmenu or rofi is required')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("git://github.com/ljurk/$_gitname.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_gitname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+build() {
+ cd "$_gitname"
+ python setup.py build
+}
+
+package() {
+ cd "$_gitname"
+ python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1 --skip-build
+}