summaryrefslogtreecommitdiff
path: root/community/mate-desktop/PKGBUILD
blob: caeed60361c8d269616aed45f7a1452e48acf667 (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
# $Id: PKGBUILD 104842 2014-01-27 11:23:45Z flexiondotorg $
# Maintainer : Martin Wimpress <code@flexion.org>

pkgname=mate-desktop
pkgver=1.6.2
pkgrel=2
pkgdesc="Library with common API for various MATE modules"
url="http://mate-desktop.org"
arch=('i686' 'x86_64')
license=(GPL LGPL)
depends=('dconf' 'gtk2' 'hicolor-icon-theme' 'libunique' 'python2'
         'startup-notification' 'ttf-dejavu')
makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser')
optdepends=('lightdm-gtk2-greeter: A lightweight display manager')
options=('!emptydirs')
groups=('mate')
source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz")
sha1sums=('413ef92f1aedf0ffbbf232ce6907211f0f4722a2')
install=${pkgname}.install

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    PYTHON=/usr/bin/python2 ./configure \
        --prefix=/usr \
        --disable-static \
        --disable-scrollkeeper \
        --disable-schemas-compile \
        --enable-gtk-doc \
        --with-omf-dir=/usr/share/omf/${pkgname}
    make
}

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