summaryrefslogtreecommitdiff
path: root/pcr/xfce4-whiskermenu-plugin
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-07-27 16:20:58 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-07-27 16:20:58 -0400
commitbf6f62481559bf5e657ba20c15e786fb6210d460 (patch)
treeb106ada83f5ba2fed243ff702b268b1514f8f101 /pcr/xfce4-whiskermenu-plugin
parentc05ee7214db837adbecc05cdf8588f271755a6cf (diff)
add pcr/xfce4-whiskermenu-plugin
Diffstat (limited to 'pcr/xfce4-whiskermenu-plugin')
-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
+}