summaryrefslogtreecommitdiff
path: root/distro/archlinux/PKGBUILD
blob: 5944a6ac38b3e25633b93b60bf695dfdb016df49 (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
37
pkgname=mate-desktop
pkgver=1.5.0
pkgrel=1
pkgdesc="Library with common API for various MATE modules"
arch=(i686 x86_64)
license=(GPL LGPL)
depends=('libunique' 'libmatenotify' 'hicolor-icon-theme' 'gvfs-obexftp' 'obexd-client')
makedepends=('mate-doc-utils' 'intltool')
options=('!emptydirs' '!libtool')
url="http://mate-desktop.org/"
groups=('mate')
source=()
sha256sums=()
install=mate-desktop.install

build() {
	cd "${srcdir}/../../../"

    ./autogen.sh \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --disable-static \
        --disable-scrollkeeper \
        --disable-startup-notification \
        --enable-unique || return 1
    #  --with-gtk=3.0
    make || return 1
}

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

    # prevent conflicts errors
    mv "${pkgdir}/usr/share/omf" "${pkgdir}/usr/share/mate-omf"
}