diff options
Diffstat (limited to 'community/jgmenu/APKBUILD')
-rw-r--r-- | community/jgmenu/APKBUILD | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/community/jgmenu/APKBUILD b/community/jgmenu/APKBUILD index 23ee18e5910..7387650eaaa 100644 --- a/community/jgmenu/APKBUILD +++ b/community/jgmenu/APKBUILD @@ -1,11 +1,11 @@ # Contributor: Justin Berthault <justin.berthault@zaclys.net> -# Maintainer: Justin Berthault <justin.berthault@zaclys.net> +# Maintainer: pkgname=jgmenu -pkgver=4.3.0 +pkgver=4.4.1 pkgrel=1 pkgdesc="Simple, independent X11 menu" url="https://github.com/johanmalm/jgmenu" -arch="all !s390x !mips !mips64" # missing dep: librsvg +arch="all" license="GPL-2.0-only" depends=" bash @@ -16,23 +16,41 @@ makedepends=" librsvg-dev libxrandr-dev libxml2-dev + menu-cache-dev pango-dev + xfce4-panel-dev " -checkdepends="perl" -subpackages="$pkgname-doc" +checkdepends="perl xvfb-run" +subpackages="$pkgname-doc $pkgname-xfce4" source="$pkgname-$pkgver.tar.gz::https://github.com/johanmalm/jgmenu/archive/v$pkgver.tar.gz" build() { - ./configure --prefix=/usr + export CFLAGS="$CFLAGS -flto=auto" + + ./configure \ + --prefix=/usr \ + --with-gtktheme \ + --with-lx \ + --with-pmenu \ + --with-xfce4-panel-applet make } check() { - make test + export XDG_RUNTIME_DIR="$builddir" + xvfb-run -a make test } package() { make DESTDIR="$pkgdir" install } -sha512sums="5e13bc093c1e3e547c577c19a0b358be928048a61f3571e2a575242a3085b0c25127ae476492a8d31b3d23f9bb973b9f637025b7e51b191756849acd1a661a62 jgmenu-4.3.0.tar.gz" +xfce4() { + pkgdesc="$pkgdesc (xfce4 panel integration)" + + amove usr/lib/xfce4 usr/share/xfce4 +} + +sha512sums=" +e09ff357e99e58ba63f0a9e8c9c8d1164bcc588bfda565139a8d9b35bb76683e284952feb12680830bec8188957c5b7aec6c89817962fb368381b80046d43ae0 jgmenu-4.4.1.tar.gz +" |