summaryrefslogtreecommitdiffstats
path: root/main/menu-cache/APKBUILD
blob: db572b60ace5c806b212e280d7bee5292a304c46 (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
29
30
31
32
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=menu-cache
pkgver=0.5.1
pkgrel=1
pkgdesc='Caching mechanism for freedesktop.org compliant menus'
arch='all'
license='GPL2'
url='http://lxde.org/'
makedepends='glib-dev'
options='libtool'
source="http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-dev"

_builddir="$srcdir/$pkgname-$pkgver"

build() {
  cd "$_builddir"
  ./configure --prefix=/usr --sysconfdir=/etc \
              --libexecdir=/usr/lib/menu-cache \
              --disable-static || return 1
  make || return 1
}

package() {
  cd "$_builddir"
  make DESTDIR="$pkgdir" install || return 1
}

md5sums="fd296c317a235782fbbd37b6f54bc985  menu-cache-0.5.1.tar.gz"
sha256sums="08e658021faecd4eefb26cc21b207251a6b4e844e131cec491471aba9eaea122  menu-cache-0.5.1.tar.gz"
sha512sums="44d55a01f5452804e77518c4a2ba400a5b65edbf4061e346a6c02356195867eaa0bb9eaa057fbf603ddf79759acb16632bf3b7ae543eebc1544e28517cd23066  menu-cache-0.5.1.tar.gz"