summaryrefslogtreecommitdiff
path: root/distro/archlinux/PKGBUILD
blob: 20ecef43c0cef60133529414a639457dabc86d93 (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=1.1.0
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=()
sha256sums=()
url="http://matsusoft.com.ar/projects/mate/"
groups=('mate')

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

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