summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Toledo2017-06-11 12:37:55 -0500
committerJonathan Toledo2017-06-11 12:37:55 -0500
commit0caf43f7e0613f9cf8b3a85fc058222bf5f806fb (patch)
treed8d11e5b6d31cb8583ccd8e8cc10a956bb283abc
downloadaur-0caf43f7e0613f9cf8b3a85fc058222bf5f806fb.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD32
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..37a2ab71863
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = jumpapp-git
+ pkgdesc = A run-or-raise application switcher for any X11 desktop
+ pkgver = r62.8229224
+ pkgrel = 1
+ url = https://github.com/mkropat/jumpapp
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = pandoc
+ depends = wmctrl
+ provides = jumpapp,jumpappify-desktop-entry
+ source = jumpapp-git::git+https://github.com/mkropat/jumpapp
+ sha256sums = SKIP
+
+pkgname = jumpapp-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e18bac2906d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Jonathan Toledo <kry0ster@gmail.com>
+
+pkgname=jumpapp-git
+pkgver=r62.8229224
+pkgrel=1
+pkgdesc="A run-or-raise application switcher for any X11 desktop"
+arch=('i686' 'x86_64')
+url="https://github.com/mkropat/jumpapp"
+license=('MIT')
+depends=('pandoc' 'wmctrl')
+makedepends=('git')
+provides=('jumpapp','jumpappify-desktop-entry')
+
+source=("$pkgname"::'git+https://github.com/mkropat/jumpapp')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ install -Dm755 jumpapp ${pkgdir}/usr/bin/jumpapp
+ install -Dm755 jumpappify-desktop-entry ${pkgdir}/usr/bin/jumpappify-desktop-entry
+ install -Dm644 jumpapp.1 ${pkgdir}/usr/share/man/man1/jumpapp.1
+}