updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnome-panel-no-limit-places-menu / PKGBUILD
blob674baf4ae543c2114920db33b8bce35ad6556771
1 # Maintainer: AshtonBRSC <michael@ashtonbrsc.co.uk>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=gnome-panel-no-limit-places-menu
5 _pkgname=gnome-panel
6 pkgver=2.30.2
7 pkgrel=1
8 pkgdesc="The GNOME Panel without the 5 item limit for bookmarks and volumes in the Places dropdown menu"
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 url="http://www.gnome.org"
12 depends=('libwnck>=2.30.2' 'gnome-menus>=2.30.2' 'evolution-data-server>=2.30.2' 'gnome-desktop>=2.30.2' 'libgweather>=2.30.2' 'librsvg>=2.26.0' 'hicolor-icon-theme' 'libcanberra' 'libbonoboui>=2.24.2')
13 makedepends=('gnome-doc-utils>=0.20.0' 'pkg-config' 'intltool' 'networkmanager')
14 options=('!libtool' '!emptydirs')
15 conflicts=('gnome-panel')
16 provides=('gnome-panel')
17 replaces=('gnome-panel')
18 groups=('gnome')
19 install=gnome-panel.install
20 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/2.30/${_pkgname}-${pkgver}.tar.bz2 gnome-panel-2.30.2-no-limit-places-menu.patch)
21 sha256sums=('f0171c55ecdf4970f819cce66de0db99bbe43832e8a284ea0dd0c89d7d12e7b6' 'e92f5e33e0891781cb0062a572a95abee3daea31b02439ceb80d3c61e4862a66')
23 build() {
24   cd "${srcdir}/${_pkgname}-${pkgver}"
25   patch -p1 < ${srcdir}/gnome-panel-2.30.2-no-limit-places-menu.patch
26   ./configure --prefix=/usr --sysconfdir=/etc \
27       --localstatedir=/var --disable-static \
28       --libexecdir=/usr/lib/gnome-panel \
29       --disable-scrollkeeper
30   make
31   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
33   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
34   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-panel-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas
35   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas