summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-04-24 05:09:41 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-04-24 05:09:41 -0300
commite45a9aecf046e0b2eab1fc6150bdc577a28b0523 (patch)
tree9dc022f347a6d5567ace4cd59af41dba6ad8f29c /pcr
parent85c0764f3b5472bd47a507a90b574a7f37ee3403 (diff)
xfce4-kbdleds-plugin: add new package to [pcr]
Diffstat (limited to 'pcr')
-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: