summaryrefslogtreecommitdiff
path: root/community/mate-accountsdialog/PKGBUILD
blob: 24be6a166e04f11c10af4a2b596cd7e715e1b141 (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 106915 2014-03-10 10:50:55Z flexiondotorg $
# Maintainer : Martin Wimpress <code@flexion.org>

pkgname=mate-accountsdialog
pkgver=1.7.0
pkgrel=1
pkgdesc="An application to view and modify user accounts information for MATE."
url="https://github.com/NiceandGently/mate-accountsdialog"
arch=('i686' 'x86_64')
license=('GPL')
depends=('accountsservice' 'apg' 'dbus-glib' 'gtk2' 'iso-codes' 'mate-desktop'
         'mate-polkit' 'libunique')
makedepends=('mate-common' 'perl-xml-parser' 'yelp-tools')
options=('!emptydirs')
source=("https://github.com/NiceandGently/${pkgname}/archive/v${pkgver}.tar.gz")
sha1sums=('8cae1d8dd8596a162c6d494e69a9539f8cf7cfd1')
install=${pkgname}.install

prepare() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    NOCONFIGURE=1 ./autogen.sh
}

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    ./configure \
        --prefix=/usr \
        --enable-systemd
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
}