summaryrefslogtreecommitdiff
path: root/user/ftmenu/APKBUILD
blob: 409ee092a2871ff1ae8e78bfd42de7bc92db4c43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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"