mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
34 lines
1.4 KiB
Bash
34 lines
1.4 KiB
Bash
# $Id: PKGBUILD 44690 2009-07-03 18:00:15Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=gnome-applets
|
|
pkgver=2.26.3
|
|
pkgrel=1
|
|
pkgdesc="GNOME Applets"
|
|
arch=(i686 x86_64)
|
|
license=('GPL')
|
|
depends=('gstreamer0.10-base-plugins' 'gnome-panel>=2.26.3' 'libgtop>=2.26.1' 'gucharmap>=2.26.3' 'libnotify>=0.4.5' 'cpufrequtils' 'libgnomekbd>=2.26.0')
|
|
makedepends=('gnome-doc-utils>=0.16.0' 'pkgconfig' 'gnome-settings-daemon>=2.26.1' 'intltool' 'gnome-icon-theme' 'gnome-python-desktop>=2.26.0')
|
|
optdepends=('gnome-python-desktop: invest-applet')
|
|
options=(!emptydirs)
|
|
url="http://www.gnome.org"
|
|
groups=(gnome)
|
|
install=gnome-applets.install
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('23fb47b3e35ef2136d6ade3f0203328b')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--libexecdir=/usr/lib/gnome-applets \
|
|
--localstatedir=/var --disable-static \
|
|
--disable-scrollkeeper --enable-mixer-applet \
|
|
--disable-schemas-install || return 1
|
|
make || return 1
|
|
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
|
|
rm -f ${pkgdir}/usr/lib/*.la
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
|
|
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-applets-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
|
|
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
|
|
}
|