summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Lezaeta Reyes2015-05-26 04:58:49 -0300
committerPablo Lezaeta Reyes2015-05-26 04:58:49 -0300
commit9d6b51526151b779568c248f27e390b0e831c438 (patch)
treeff0f805d04933adc8fbae23051aa556ecc1a4c09
downloadaur-9d6b51526151b779568c248f27e390b0e831c438.tar.gz
whistles is dead
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
-rw-r--r--.SRCINFO21
-rw-r--r--.gitignore9
-rwxr-xr-xPKGBUILD35
-rwxr-xr-xxfce4-whiskermenu-plugin-git.install11
4 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7b32de29df7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = xfce4-whiskermenu-plugin-git
+ pkgdesc = Alternate Xfce menu
+ pkgver = 1.5.0.12.gaf5e8
+ pkgrel = 1
+ url = http://gottcode.org/xfce4-whiskermenu-plugin/
+ install = xfce4-whiskermenu-plugin-git.install
+ arch = i686
+ arch = x86_64
+ groups = xfce4-goodies
+ groups = xfce4-goodies-git
+ license = GPL2
+ makedepends = cmake
+ makedepends = git
+ depends = xfce4-panel
+ provides = xfce4-whiskermenu-plugin
+ conflicts = xfce4-whiskermenu-plugin
+ source = xfce4-whiskermenu-plugin::git+http://github.com/gottcode/xfce4-whiskermenu-plugin
+ md5sums = SKIP
+
+pkgname = xfce4-whiskermenu-plugin-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..00e08e476cc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+src
+pkg
+srcdir
+pkgdir
+stardir
+*.xz
+*.gz
+xfce4-whiskermenu-plugin*
+!xfce4-whisker-menu-plugin-git.install
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..5b04e165138
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Diego Principe <cdprincipe@at@gmail@dot@com>
+# Maintainer: PAblo Lezaeta <prflr88@gmail.com>
+
+_pkgname=xfce4-whiskermenu-plugin
+pkgname=xfce4-whiskermenu-plugin-git
+pkgver=1.5.0.12.gaf5e8
+pkgrel=1
+pkgdesc="Alternate Xfce menu"
+arch=("i686" "x86_64")
+url="http://gottcode.org/${_pkgname}/"
+license=("GPL2")
+depends=("xfce4-panel")
+makedepends=("cmake" "git")
+groups=("xfce4-goodies" "xfce4-goodies-git")
+provides=("xfce4-whiskermenu-plugin")
+conflicts=("xfce4-whiskermenu-plugin")
+install=${pkgname}.install
+source=("$_pkgname::git+http://github.com/gottcode/xfce4-whiskermenu-plugin")
+md5sums=("SKIP")
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ git describe --always | sed 's|-|.|g' | grep -o '[0-9]..*[0-9]'
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ make install/strip DESTDIR=${pkgdir}
+}
diff --git a/xfce4-whiskermenu-plugin-git.install b/xfce4-whiskermenu-plugin-git.install
new file mode 100755
index 00000000000..e70c054ec6a
--- /dev/null
+++ b/xfce4-whiskermenu-plugin-git.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}