summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/xfce4-whiskermenu-plugin/PKGBUILD27
-rw-r--r--pcr/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin.install11
2 files changed, 38 insertions, 0 deletions
diff --git a/pcr/xfce4-whiskermenu-plugin/PKGBUILD b/pcr/xfce4-whiskermenu-plugin/PKGBUILD
new file mode 100644
index 000000000..5351360a0
--- /dev/null
+++ b/pcr/xfce4-whiskermenu-plugin/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Graeme Gott <graeme@gottcode.org>
+
+pkgname=xfce4-whiskermenu-plugin
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Alternate Xfce menu"
+arch=('i686' 'x86_64')
+url="http://gottcode.org/${pkgname}/"
+license=('GPL2')
+depends=('xfce4-panel')
+makedepends=('cmake')
+install=${pkgname}.install
+source=(http://gottcode.org/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2)
+md5sums=('0c78f2b1cb3883d636cb616ab96e92be')
+sha256sums=('0f75f4551357a19200d14aa4df69755291a9db1b6fd49ab7ac51fd795c0a87e2')
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make install DESTDIR="${pkgdir}"
+}
diff --git a/pcr/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin.install b/pcr/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin.install
new file mode 100644
index 000000000..81f2ba659
--- /dev/null
+++ b/pcr/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}