summaryrefslogtreecommitdiff
path: root/user/xfce4-whiskermenu-plugin/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-10-19 18:57:57 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-10-19 18:57:57 +0000
commit615706519a4d1f25ed49eb9700107520446d66c4 (patch)
tree26958a658ee0e69e778e04a0a53e1186b2b8d6d3 /user/xfce4-whiskermenu-plugin/APKBUILD
parentcc4a22b8d11e4019eabb255c64ee6c8f733cb76f (diff)
parentfd2ae754a2c7e16e994e2aa15929b2bd1c6b52e1 (diff)
downloadpackages-615706519a4d1f25ed49eb9700107520446d66c4.tar.gz
packages-615706519a4d1f25ed49eb9700107520446d66c4.tar.bz2
packages-615706519a4d1f25ed49eb9700107520446d66c4.tar.xz
packages-615706519a4d1f25ed49eb9700107520446d66c4.zip
Merge branch 'xfce4.plugins' into 'master'
A bunch of XFCE plugins See merge request !82
Diffstat (limited to 'user/xfce4-whiskermenu-plugin/APKBUILD')
-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"