summaryrefslogtreecommitdiff
path: root/user/xfce4-whiskermenu-plugin
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-08 16:24:37 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-08 16:24:37 -0500
commit2bdb1927d522b2a437baeacb6897d985cb74432d (patch)
treee71707d656d8d7b4f94077151b4558fe8d2061c7 /user/xfce4-whiskermenu-plugin
parent9a254ded4e473ec6fd0eb5b3b88f4f34822bdb4c (diff)
downloadpackages-2bdb1927d522b2a437baeacb6897d985cb74432d.tar.gz
packages-2bdb1927d522b2a437baeacb6897d985cb74432d.tar.bz2
packages-2bdb1927d522b2a437baeacb6897d985cb74432d.tar.xz
packages-2bdb1927d522b2a437baeacb6897d985cb74432d.zip
user/xfce4-whiskermenu-plugin: new package
Diffstat (limited to 'user/xfce4-whiskermenu-plugin')
-rw-r--r--user/xfce4-whiskermenu-plugin/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/xfce4-whiskermenu-plugin/APKBUILD b/user/xfce4-whiskermenu-plugin/APKBUILD
new file mode 100644
index 000000000..7aa9b05af
--- /dev/null
+++ b/user/xfce4-whiskermenu-plugin/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=xfce4-whiskermenu-plugin
+pkgver=2.2.1
+pkgrel=0
+pkgdesc="Whisker menu plugin for the XFCE panel"
+url="https://xfce.org"
+arch="all"
+options="!check" # no tests
+license="GPL-2.0+"
+makedepends="gtk+3.0-dev exo-dev garcon-dev xfce4-panel-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://archive.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/2.2/xfce4-whiskermenu-plugin-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e5b8ab54b66397d0d956d0ddcf7ab9c7531936fa7413094d4cae99aca8f7fca4659012beceec06c9bd6f1ba7695a3e0955d1fd2f10ebf08cf5701224a5dbeb18 xfce4-whiskermenu-plugin-2.2.1.tar.bz2"