2021-06-18 10:09:13 +02:00

39 lines
1.1 KiB
Plaintext

# 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-extra-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"
prepare() {
default_prepare
update_config_sub
update_config_guess
}
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"