# Description: Caching mechanism for freedesktop.org compliant menus
# URL: https://lxde.org/
# Maintainer: unmaintained
# Depends on: libfm-extra

name=menu-cache
version=1.1.0
release=1
source=(https://downloads.sourceforge.net/lxde/$name-$version.tar.xz
  menu-cache-1.1.0-0001-Support-gcc10-compilation.patch)

build() {
  cd $name-$version

  patch -p1 -i $SRC/menu-cache-1.1.0-0001-Support-gcc10-compilation.patch

  ./configure --prefix=/usr \
    --libexecdir=/usr/lib/$name

  make
  make DESTDIR=$PKG install
}
