aboutsummaryrefslogtreecommitdiffstats
path: root/community/menu-cache/APKBUILD
blob: 9c1a48ac0d6314628783bfe30f18d15c1951509a (plain)
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
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>

pkgname=menu-cache
pkgver=1.1.0
pkgrel=0
pkgdesc="Caching mechanism for freedesktop.org compliant menus"
arch="all"
license="GPL-2.0+"
url="https://lxde.org/"
makedepends="glib-dev libfm-dev"
options="!check libtool"  # No test suite.
source="https://downloads.sourceforge.net/lxde/menu-cache-$pkgver.tar.xz
	menu-cache-1.1.0-0001-Support-gcc10-compilation.patch"
subpackages="$pkgname-dev"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/menu-cache \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e4c6619ade7b9a1b97c1366bb94dffb9975be5664b193cf0c69cf9470ef7ae19bda3390d04d98ee9a5b1658ec48aa5c83508c26c347af689161ee67c076b3c9e  menu-cache-1.1.0.tar.xz
e50671688b00bf20c71fcff4d1cdf063d86d4f39b2e5c9a6a80a3349b27120dc55a35279cc55887064e3f18dd4aa0f81056723692c46f858bcf15414b2b4dab2  menu-cache-1.1.0-0001-Support-gcc10-compilation.patch"