# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-session-manager pkgver=1.16.0 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+3.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="550aa389eb23030c13dec8c1e288e6ae mate-session-manager-1.16.0.tar.xz" sha256sums="15a5b986c6ba32bab381ed68d21d50ca14fdbe1e2c28ca990a833f21539b41c6 mate-session-manager-1.16.0.tar.xz" sha512sums="55eeef35c388a1f2ed1ad21002863b09d462f5549fb14edcde530715d52e012ee4ecb09c7757775011159b261db7e02be13dccad710fdcd66455383b84a26b86 mate-session-manager-1.16.0.tar.xz"