diff options
author | Dan Theisen <djt@hxx.in> | 2018-04-26 23:45:14 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-04-26 23:55:30 -0700 |
commit | 6fa6a753b7ed6dd8232efe1a113fde84ba8be41d (patch) | |
tree | 359a13a86c55c3f080ac56d653d07bb180e431b9 /user | |
parent | fb1a3e08b79f373f5b4ce1bbfbd43785b26b06f4 (diff) | |
download | packages-6fa6a753b7ed6dd8232efe1a113fde84ba8be41d.tar.gz packages-6fa6a753b7ed6dd8232efe1a113fde84ba8be41d.tar.bz2 packages-6fa6a753b7ed6dd8232efe1a113fde84ba8be41d.tar.xz packages-6fa6a753b7ed6dd8232efe1a113fde84ba8be41d.zip |
user/ftmenu: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/ftmenu/APKBUILD | 43 | ||||
-rw-r--r-- | user/ftmenu/include-stdlib.patch | 10 |
2 files changed, 53 insertions, 0 deletions
diff --git a/user/ftmenu/APKBUILD b/user/ftmenu/APKBUILD new file mode 100644 index 000000000..409ee092a --- /dev/null +++ b/user/ftmenu/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Dan Theisen <djt@hxx.in> +pkgname=ftmenu +pkgver=0.4.0 +pkgrel=0 +pkgdesc="a toolbar icon to reach your Fluxbox menus" +url="http://ftmenu.sourceforge.net/" +arch="all" +license="GPL-3.0" +depends="" +makedepends="gtk+2.0-dev" +install="" +subpackages="" +options="!check" # there is currently no testsuite to run +source="https://downloads.sourceforge.net/project/ftmenu/ftmenu/ftmenu-0.4/ftmenu-$pkgver.tar.gz + include-stdlib.patch" +builddir="$srcdir/ftmenu-$pkgver" + +build() { + cd "$builddir" + autoreconf -if + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="7b83d2b7bb186d2a78f3425f364fc34263332ce881ebbed4805767834610d3fba474b296343de9f2d01aefb10e6638ed356c617ad460746f1a60f0f85d3e6e10 ftmenu-0.4.0.tar.gz +d17a2aff7df7ed285ff9027a7495bf80053b1c9308ecc0f463c56485c9874ffe673755d44b55f758c0677119c18ebb343056e6cc3995b91c902e36358f1d6906 include-stdlib.patch" diff --git a/user/ftmenu/include-stdlib.patch b/user/ftmenu/include-stdlib.patch new file mode 100644 index 000000000..af420a34b --- /dev/null +++ b/user/ftmenu/include-stdlib.patch @@ -0,0 +1,10 @@ +--- a/src/ftmenu.c 2018-04-26 23:37:11.004875301 -0700 ++++ b/src/ftmenu.c 2018-04-26 23:36:48.794546383 -0700 +@@ -4,6 +4,7 @@ + #include <string.h> + #include <stdio.h> + #include <unistd.h> ++#include <stdlib.h> + #include "ftmenu.h" + + GtkWidget *menu[MAX_MENU_DEPTH]; |