summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorClayton G. Hobbs2018-01-31 15:59:50 -0500
committerClayton G. Hobbs2018-01-31 15:59:50 -0500
commit8317fe788a0ead2f268e803db6f007a0534c80e9 (patch)
tree76f46a57ad6198718a56e18d0860ae604328390d
parentb5ed8539ccd23b952a492cc2d2f3ebc48b8e5ac2 (diff)
downloadaur-8317fe788a0ead2f268e803db6f007a0534c80e9.tar.gz
Added a .desktop file
Now the utility appears in whatever your desktop's notion of a menu is. Convenient! In GNOME, it shows up with a name and icon in the top bar. Neat!
-rw-r--r--PKGBUILD5
-rw-r--r--ibm_capsense_usb_util.desktop9
2 files changed, 13 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f3423a900a5..f3e111550d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Clay Hobbs <clay@lakeserv.net>
pkgname=ibm_capsense_usb_util
pkgver=0.9.0
-pkgrel=1
+pkgrel=2
pkgdesc="Graphical utility for configuring xwhatsit capsense keyboard controllers"
arch=('x86_64')
url="http://downloads.cornall.co/ibm-capsense-usb-web/ibm-capsense-usb.html"
@@ -20,10 +20,12 @@ install=
changelog=
source=("http://downloads.cornall.co/ibm-capsense-usb/${pkgver}/ibm-capsense-usb_${pkgver}.tar.gz"
"82-ibm-capsense-usb.rules"
+ "$pkgname.desktop"
"$pkgname-$pkgver.patch")
noextract=()
sha512sums=("e19070c22437096e05310f474666000d6f61eea09242133b30d474000e00d8a4c7d0178f63f2d8b979f8971461e15384c80c676db811652d8363ea8c335d6bc8"
"d8062f4734ded9aa05d843b14d2a4305715c00cac82b2e168bd7ac4c4641ca7fa9d2fd953700fcbe194563ef8e026a5d1c4519b92f267187260f72ccb9f09820"
+ "9409d9b12a97b82791771546fb210c7d09142133d20e75086c39ba083c0822549eed5743cb3ed3f5615e962c58b840fefb7e5a192b7310b0c72cca2606304686"
"af1de637c32dd7c3577e3f92f5e1209c80d4f71a774ceb0f79eff0918c97703f879241e2a8619ab1fb5ec28d69e7bb9218022ce51dbcf32547fc583a48d76560")
prepare() {
@@ -42,4 +44,5 @@ package() {
install -m 755 -p -D "src/util/src/$pkgname" "$pkgdir/usr/bin/$pkgname"
cd "$srcdir"
install -m 644 -p -D "82-ibm-capsense-usb.rules" "$pkgdir/usr/lib/udev/rules.d/82-ibm-capsense-usb.rules"
+ install -m 644 -p -D "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}
diff --git a/ibm_capsense_usb_util.desktop b/ibm_capsense_usb_util.desktop
new file mode 100644
index 00000000000..e71e960af8a
--- /dev/null
+++ b/ibm_capsense_usb_util.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=IBM Capsense USB Util
+Comment=Graphical utility for configuring xwhatsit capsense keyboard controllers
+Exec=ibm_capsense_usb_util
+StartupNotify=true
+Terminal=false
+Type=Application
+Icon=preferences-desktop-keyboard
+Categories=Settings;HardwareSettings;Qt;