# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-session-manager pkgver=1.12.1 pkgrel=0 pkgdesc="The MATE session manager" url="https://github.com/mate-desktop/mate-session-manager" arch="all" license="GPL2" depends="mate-common mate-desktop" depends_dev="" makedepends="$depends_dev intltool libtool dconf-dev dbus-glib-dev gtk+2.0-dev libsm-dev mate-desktop-dev" install="" subpackages="$pkgname-doc $pkgname-lang" source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 } md5sums="dd14694806eca860d6f7fd25297af7dd mate-session-manager-1.12.1.tar.xz" sha256sums="2bad592d7dc0e6807f347bba1580c7c9f5d880aeedee2293d4c8947ab439e7e2 mate-session-manager-1.12.1.tar.xz" sha512sums="9f871f22b59eff6f069ce82709c49897f7af00d295c2abd6c0bb7eb0a6aee26a3a2f6ed63e197f393890db524c50ddfbce6d031e381970fed94a9c1a632e52ae mate-session-manager-1.12.1.tar.xz"