blob: ae3cb2ecf55866ebdd75e7a6d905e7293cc664ed (
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
36
37
38
39
|
# $Id: PKGBUILD 48006 2011-05-26 23:21:11Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
_pkgname=gnome-settings-daemon
pkgname=$_pkgname-updates
pkgver=3.0.2
pkgrel=1
pkgdesc="Updates plugin for the GNOME Settings daemon"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org"
license=('GPL')
depends=('gnome-packagekit' "$_pkgname" 'upower')
makedepends=('intltool' 'gtk-doc')
options=('!emptydirs' '!libtool')
install=$_pkgname.install
source=("http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2"
'arch.patch')
sha256sums=('f304aa54c59ab23f7ef55bfeefeecfd6f7a95cabbeed2ea802c94463d4234eec'
'91700d5c7c52cb6e15ed46ec61a150af58e073de7332351a1f7863a41042d134')
build() {
cd "$srcdir/$_pkgname-$pkgver"
patch -Np1 -i "$srcdir/arch.patch"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/bin \
--disable-static \
--enable-pulse
make -s
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
make -C 'plugins/updates' DESTDIR="${pkgdir}" install
_schema='org.gnome.settings-daemon.plugins.updates.gschema.xml'
install -D -m644 "data/$_schema" "$pkgdir/usr/share/glib-2.0/schemas/$_schema"
}
|