updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gnome-shell-native-theme / PKGBUILD
blob29b557363fdfa3060b231af6d4236971090797ba
1 # Contributor: Ionut Biru <ibiru@archlinux.org>
2 # Contributor: Flamelab <panosfilip@gmail.com
3 # Maintainer: Nano77 <nanoarch77@gmail.com>
5 pkgname=gnome-shell-native-theme
6 pkgver=3.2.1
7 pkgrel=3
8 pkgdesc="GnomeShell patched to using theme without extension"
9 arch=('i686' 'x86_64')
10 url="http://live.gnome.org/GnomeShell"
11 license=('GPL2')
12 depends=('mutter' 'gjs' 'libcroco' 'gnome-bluetooth' 'gnome-desktop' 'gnome-menus' 'libpulse' 'folks' 'telepathy-logger' 'networkmanager' 'caribou' 'nautilus' 'telepathy-mission-control')
13 makedepends=('intltool' 'gnome-doc-utils')
14 optdepends=('network-manager-applet: shell integration for networkmanager' 'gdm3setup-native-theme: Select the GDM GnomeShell Theme')
15 conflicts=('gnome-shell')
16 provides=('gnome-shell=3.2.1')
17 options=('!libtool' '!emptydirs')
18 install=gnome-shell.install
19 source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.2/gnome-shell-$pkgver.tar.xz
20         gnome-shell-native-theme.patch)
21 sha256sums=('ac05e3133bd279c84812d8d3d8e362f8b33563cdc3e7a6aefa9c0b1c2aeab0eb'
22         'd591aec9f486d05a49bcc11b5f949f78fb7029226d6e009d91cd040a70974520')
24 build() {
25   cd "${srcdir}/gnome-shell-${pkgver}"
27   patch -Np1 -i ${srcdir}/gnome-shell-native-theme.patch
29   PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
30       --libexecdir=/usr/lib/gnome-shell \
31       --localstatedir=/var --disable-static \
32       --disable-schemas-compile
33   make
36 package() {
37   cd "${srcdir}/gnome-shell-${pkgver}"
38   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
40   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
41   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/gnome-shell.schemas" --domain gnome-shell ${pkgdir}/etc/gconf/schemas/*.schemas
42   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas