summaryrefslogtreecommitdiff
path: root/community/menu-cache/PKGBUILD
blob: 1c6e9ad249fb1497155fdb63ed24b0b506f5736a (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
33
34
35
36
# $Id: PKGBUILD 80045 2012-11-15 18:59:35Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>

pkgname=menu-cache
pkgver=0.4.0
pkgrel=1
pkgdesc='Caching mechanism for freedesktop.org compliant menus'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url='http://lxde.org/'
groups=('lxde')
depends=('intltool' 'glib2')
options=('!libtool')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
        menu-cache-gen.h)
md5sums=('c63029a6c65e370ed5d9409f30265950'
         '4edc9545b9640ee7698324d3f9683dc7')

build() {
  cd $srcdir/$pkgname-$pkgver

  install -m644 $srcdir/menu-cache-gen.h menu-cache-gen/

  ./configure --prefix=/usr --sysconfdir=/etc \
              --libexecdir=/usr/lib/menu-cache \
              --disable-static
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}