summaryrefslogblamecommitdiff
path: root/user/menu-cache/APKBUILD
blob: 3c20b042c7c24215713050a294beb77ec60278a7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                                   
        




                                                     
          

                                      


                                                                                     

         








                                                  


                                      

                                                                                                                                                                     
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer:
pkgname=menu-cache
pkgver=1.1.0
pkgrel=1
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
	gcc10.patch
	"

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
ce4aa02e56bca4af6e32ef7ce689c26387309ef6e1d9560f37d344bca6ef5aba6c3c8c9c3ea38127ca71f8aaff0cfbfed47775c7b2cbb9703deae99b6fc78645  gcc10.patch"