blob: a0b8970102546e5a46a448d7af020a99abf6eab7 (
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
|
# Maintainer: Jose Riha <jose1711 [at] gmail (dot) com>
pkgname=kmcaster
pkgver=1.1.0
pkgrel=1
pkgdesc="On-screen display (OSD) for keyboard and mouse events"
arch=('any')
url="https://github.com/DaveJarvis/kmcaster"
license=('GPL')
depends=('archlinux-java-run')
makedepends=('gendesk')
source=("${pkgname}_${pkgver}.jar"::"https://github.com/DaveJarvis/kmcaster/releases/download/${pkgver}/kmcaster.jar"
"kmcaster.sh")
noextract=("${pkgname}_$pkgver.jar")
prepare() {
gendesk -f -n --pkgname "${pkgname}" --pkgdesc "${pkgdesc}" --exec "kmcaster" --categories "Utility;Accessibility;Java"
}
package() {
install -Dm644 ${pkgname}_$pkgver.jar "$pkgdir/usr/share/java/$pkgname/$pkgname.jar"
install -Dm755 kmcaster.sh "$pkgdir/usr/bin/kmcaster"
install -Dm644 "${srcdir}/${pkgname}.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop"
}
md5sums=('c3204fe1c0a4bdc43eb8969e88401c53'
'c89ecb10db8a6c447a956e5f4872a8bf')
|