summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorljurk2020-03-21 01:46:03 +0100
committerljurk2020-03-21 01:46:03 +0100
commit812c1d5aaf1b623563b5fda5ead9544b6baca54c (patch)
treefffc7fafdad1b2ba9451e0d1cf5f6a2552739315 /PKGBUILD
downloadaur-812c1d5aaf1b623563b5fda5ead9544b6baca54c.tar.gz
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
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
+}