From 2bdb1927d522b2a437baeacb6897d985cb74432d Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sat, 8 Sep 2018 16:24:37 -0500 Subject: user/xfce4-whiskermenu-plugin: new package --- user/xfce4-whiskermenu-plugin/APKBUILD | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 user/xfce4-whiskermenu-plugin/APKBUILD 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 +# Maintainer: Kiyoshi Aman +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" -- cgit v1.2.3-70-g09d2