diff options
Diffstat (limited to 'community/menu-cache')
-rw-r--r-- | community/menu-cache/PKGBUILD | 28 | ||||
-rw-r--r-- | community/menu-cache/menu-cache-gen.h | 8 |
2 files changed, 25 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 } diff --git a/community/menu-cache/menu-cache-gen.h b/community/menu-cache/menu-cache-gen.h new file mode 100644 index 000000000..7d9be4207 --- /dev/null +++ b/community/menu-cache/menu-cache-gen.h @@ -0,0 +1,8 @@ +#ifndef __MENU_CACHE_GEN_H__ +#define __MENU_CACHE_GEN_H__ 1 +G_BEGIN_DECLS + +guint32 menu_cache_get_de_flag (const char* de_name); + +G_END_DECLS +#endif
\ No newline at end of file |