summaryrefslogtreecommitdiff
path: root/community/menu-cache/PKGBUILD
blob: bf77c8e12358b7069b571bf21d6361a2227d66b7 (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')
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
}