summaryrefslogtreecommitdiff
path: root/repo/system/menu-cache.xibuild
blob: 61833640d89305f2fee4406e42461f6d78f65a99 (plain)
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
#!/bin/sh

NAME="menu-cache"
DESC="Caching mechanism for freedesktop.org compliant menus"

MAKEDEPS="make libfm-extra"
DEPS="glib "

PKG_VER=1.1.0
SOURCE="https://downloads.sourceforge.net/lxde/menu-cache-$PKG_VER.tar.xz"
ADDITIONAL="menu-cache-1.1.0-0001-Support-gcc10-compilation.patch "

prepare () {
    apply_patches
}

build () {
    ./configure \
        --prefix=/usr \
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}