blob: f1a49cf2ee5319ce5b6a792af578f52c7730459b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
# Contributor: Jonathan Toledo <kry0ster@gmail.com>
_pkgname=jumpapp
pkgname="${_pkgname}-git"
pkgver=1.1.r105.944723f
pkgrel=1
pkgdesc="A run-or-raise application switcher for any X11 desktop (git version)"
arch=('any')
url="https://github.com/mkropat/jumpapp"
license=('MIT')
depends=('inetutils' 'wmctrl' 'xdotool')
makedepends=('git')
provides=("${_pkgname}" 'jumpappify-desktop-entry')
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/mkropat/jumpapp")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
local ver=$(grep ^VERSION Makefile | cut -f 2 -d ' ')
printf "%s.r%s.%s" "$ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${_pkgname}"
install -Dm755 ${_pkgname} -t ${pkgdir}/usr/bin
install -Dm755 jumpappify-desktop-entry -t "${pkgdir}/usr/bin"
install -Dm755 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm755 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|