summaryrefslogtreecommitdiff
path: root/community/menu-cache/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/menu-cache/PKGBUILD')
-rw-r--r--community/menu-cache/PKGBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/community/menu-cache/PKGBUILD b/community/menu-cache/PKGBUILD
index 8195b8f16..1c6e9ad24 100644
--- a/community/menu-cache/PKGBUILD
+++ b/community/menu-cache/PKGBUILD
@@ -1,30 +1,36 @@
-# $Id: PKGBUILD 71029 2012-05-22 05:52:34Z bpiotrowski $
+# $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.3.3
+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/"
+url='http://lxde.org/'
groups=('lxde')
depends=('intltool' 'glib2')
options=('!libtool')
makedepends=('pkgconfig')
-source=(http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz)
-md5sums=('a14b0b162cd64d56c16bf6af16f3a47f')
+source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
+ menu-cache-gen.h)
+md5sums=('c63029a6c65e370ed5d9409f30265950'
+ '4edc9545b9640ee7698324d3f9683dc7')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --libexecdir=/usr/lib/menu-cache --disable-static
- make
+ 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
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
}