summaryrefslogtreecommitdiff
path: root/extra/gnome-applets/PKGBUILD
blob: 7ff3ec0d91d12123e5ae284dace8ac65fc01416c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 170135 2012-11-03 12:57:39Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-applets
pkgver=3.5.92
pkgrel=1
pkgdesc="GNOME Applets"
arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gnome-panel' 'libgtop' 'gucharmap' 'libnotify')
makedepends=('gnome-doc-utils' 'intltool' 'gnome-settings-daemon' 'networkmanager')
options=(!emptydirs)
url="http://www.gnome.org"
install=gnome-applets.install
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
sha256sums=('f6178cb702a39a4103fcb97e9a266bf6d05f05ac5064818f119c023d76170e83')

build() {
  cd "$pkgname-$pkgver"
  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
      --sysconfdir=/etc --libexecdir=/usr/lib/gnome-applets \
      --localstatedir=/var --disable-static \
      --disable-scrollkeeper --disable-schemas-install \
      --without-hal
  make
}

package() {
  cd "$pkgname-$pkgver"
  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install

  install -m755 -d "$pkgdir/usr/share/gconf/schemas"
  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain gnome-applets-3.0 "$pkgdir"/etc/gconf/schemas/*.schemas
  rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
}