summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authornewbthenewbd2018-04-12 18:54:03 +0200
committernewbthenewbd2018-04-12 18:54:03 +0200
commitab924c6ce46adabc4e89f7b3907e403c8d1152f8 (patch)
tree45a4228ec267dcb01b869cd73c3b753045178319 /PKGBUILD
downloadaur-xfce4-whiskermenu-plugin-gtk2.tar.gz
Uploaded latest package available for gtk2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f0752bc7b69
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Newb I the Newbd <czbd hostedon o2 halfacolon pl>
+# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
+# Contributor: Graeme Gott <graeme@gottcode.org>
+
+_pkgbase=xfce4-whiskermenu-plugin
+pkgname=(${_pkgbase}-gtk2)
+pkgver=1.7.5
+pkgrel=1
+pkgdesc="Menu for Xfce4 (GTK2 version)"
+arch=('x86_64')
+url='https://gottcode.org/xfce4-whiskermenu-plugin/'
+groups=('xfce4-goodies')
+conflicts=("${_pkgbase}")
+provides=("${_pkgbase}")
+license=('GPL2')
+depends=('garcon' 'xfce4-panel')
+makedepends=('cmake' 'ninja')
+source=("http://archive.be.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/${pkgver%.*}/xfce4-whiskermenu-plugin-$pkgver.tar.bz2") # no https available
+sha256sums=('9b60dd29be7ce315a6a8506337bbcbfe39a401ac2beddf2a611e865cc5733de6')
+
+build() {
+ mkdir -p build
+ cd build
+ cmake "$srcdir/$_pkgbase-$pkgver" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -GNinja
+ ninja
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}