summaryrefslogtreecommitdiff
path: root/community/system-tools-backends/PKGBUILD
blob: 49dffb89402e015b65cdc75d4016e3f4117670e5 (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 104267 2014-01-16 18:40:20Z flexiondotorg $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
# Contributor: Martin Wimpress <code@flexion.org>

pkgname=system-tools-backends
pkgver=2.10.2
pkgrel=4
pkgdesc='Backends for Gnome/MATE System Tools.'
arch=('i686' 'x86_64')
url='http://system-tools-backends.freedesktop.org/'
license=('GPL')
depends=('dbus-glib' 'perl' 'perl-net-dbus'  'polkit')
makedepends=('intltool' 'perl-xml-parser')
source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.10/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('1dbe5177df46a9c7250735e05e77129fe7ec04840771accfa87690111ca2c670')

build() {
    cd "${pkgname}-${pkgver}"
    ./configure \
        --prefix=/usr \
        --with-dbus-sys=/etc/dbus-1/system.d \
        --localstatedir=/var \
        --mandir=/usr/share \
        --sbindir=/usr/bin \
        --disable-static
    make
}

package() {
    cd "${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    #clean up man
    rm -rf "${pkgdir}/usr/share/system-tools-backends-2.0/modules/share/"
}