summaryrefslogtreecommitdiff
path: root/distro/archlinux/PKGBUILD
blob: 7ef376d0e44e3386d5531894688c6f514670c9cf (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
pkgname=mate-polkit
pkgver=2011.11.16
pkgrel=1
pkgdesc="PolicyKit integration for the MATE desktop"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/PolicyKit"
license=('LGPL')
depends=('polkit>=0.101' 'gtk2')
makedepends=('intltool' 'gobject-introspection')
options=('!emptydirs' '!libtool')
source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
sha256sums=('acd95c8ded1a5446b0d199b7fd1a88cdb4b4975343667cadc7737ebf171c4cdb')
url="http://matsusoft.com.ar/projects"
groups=('mate')

build() {
    cd "${srcdir}/${pkgname}"
    ./autogen.sh \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --libexecdir=/usr/lib/polkit-mate \
        --disable-static || return 1
    make || return 1
}

package() {
    cd "${srcdir}/${pkgname}"
    make DESTDIR="${pkgdir}" install || return 1
}