diff options
Diffstat (limited to 'user/xfce4-whiskermenu-plugin')
-rw-r--r-- | user/xfce4-whiskermenu-plugin/APKBUILD | 36 |
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" |