summaryrefslogtreecommitdiff
path: root/user/menu-cache/APKBUILD
blob: dd8b8a0f5612ba5a05b790a00884362ed36e82d4 (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
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer:
pkgname=menu-cache
pkgver=1.1.0
pkgrel=0
pkgdesc="Caching mechanism for freedesktop.org menus"
url="https://lxde.org/"
arch="all"
options="!check libtool"  # No test suite.
license="GPL-2.0+"
depends=""
makedepends="glib-dev libfm-extra-dev"
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/lxde/menu-cache/1.1/$pkgname-$pkgver.tar.xz"

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"