Pkgfile 661 B

12345678910111213141516171819202122
  1. # Description: Libmenu-cache is a library creating and utilizing caches to speed up the manipulation for freedesktop.org defined application menus.
  2. # URL: https://github.com/lxde/menu-cache
  3. # Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
  4. # Depends on: libfm-cache
  5. name=menu-cache
  6. version=1.1.0
  7. release=2
  8. source=(https://github.com/lxde/$name/archive/refs/tags/$version.tar.gz menu-cache-1.1.0-consolidated_fixes-1.patch)
  9. build() {
  10. cd $name-$version
  11. ./autogen.sh
  12. patch -Np1 -i $SRC/menu-cache-1.1.0-consolidated_fixes-1.patch
  13. ./configure --prefix=/usr \
  14. --disable-static
  15. make
  16. make DESTDIR=$PKG install
  17. rm -rf $PKG/usr/libexec/
  18. }