summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/xfce4-kbdleds-plugin/PKGBUILD28
-rw-r--r--pcr/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin.install13
2 files changed, 41 insertions, 0 deletions
diff --git a/pcr/xfce4-kbdleds-plugin/PKGBUILD b/pcr/xfce4-kbdleds-plugin/PKGBUILD
new file mode 100644
index 000000000..2b4aab0a3
--- /dev/null
+++ b/pcr/xfce4-kbdleds-plugin/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (Arch): Raphael Scholer <rscholer@gmx.de>
+# Contributor (Arch): tomberry88 <tomberry@live.it>
+# Contributor (Arch): Gour-Gadadhara Dasa <gour@atmarama.net>
+pkgname=xfce4-kbdleds-plugin
+pkgver=0.0.6
+pkgrel=8
+pkgdesc="Xfce keyboard LEDs panel plugin"
+arch=('i686' 'x86_64')
+url="http://goodies.xfce.org/projects/panel-plugins/xfce4-kbdleds-plugin"
+license=('GPL2')
+conflicts=("xfce4-kbdleds-plugin-git")
+depends=('xfce4-panel')
+makedepends=('intltool')
+source=("http://git.xfce.org/panel-plugins/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.bz2")
+install="${pkgname}.install"
+sha256sums=('2c36c6ac5ef2bd564058e6040888b21a67939ba79041249d10a9ccc2b6b6bca2')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin.install b/pcr/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin.install
new file mode 100644
index 000000000..375ad822c
--- /dev/null
+++ b/pcr/xfce4-kbdleds-plugin/xfce4-kbdleds-plugin.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+# vim:set ts=2 sw=2 et: