diff options
author | root <root@rshg054.dnsready.net> | 2012-11-16 01:35:29 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-16 01:35:29 -0800 |
commit | 73cd7952c96190212616ca90d5afe1ce5cb2c9ce (patch) | |
tree | 274972d0d967441e136af716dd87f3cee0cee7f2 /community/menu-cache | |
parent | 130aa30d45bf33a5ce926be8697a0e0c077cdc22 (diff) |
Fri Nov 16 01:34:04 PST 2012
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 9de781b25..bf77c8e12 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') 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 |