From 71d269efbe53e6f40553cbdefe03b49b3c4554fa Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 22 Sep 2017 15:14:05 +0000 Subject: community/mate-session-manager: upgrade to 1.19.0, added check(); modernized APKBUILD --- community/mate-session-manager/APKBUILD | 36 +++++++++++++-------------------- 1 file changed, 14 insertions(+), 22 deletions(-) (limited to 'community') diff --git a/community/mate-session-manager/APKBUILD b/community/mate-session-manager/APKBUILD index 1f972aedc0..17d92e5687 100644 --- a/community/mate-session-manager/APKBUILD +++ b/community/mate-session-manager/APKBUILD @@ -1,45 +1,37 @@ # Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-session-manager -pkgver=1.18.0 +pkgver=1.19.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 +makedepends="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 -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$_builddir" - make DESTDIR="${pkgdir}" install || return 1 + cd "$builddir" + make DESTDIR="${pkgdir}" install } -sha512sums="0b1299eed5a745112a9976a85965847fc7a579e161236f4d661cf08a1292037aa8246bd3e3efcf3d0c6ea8b005e9dfc33cec797c8dc48615f7bc88ce5d351ba8 mate-session-manager-1.18.0.tar.xz" +sha512sums="eff55c333e48dac72feb692832a031d8b46b653cb90f849549a50a65caf00c07167481e8b10e5a08e9250a8ec92ef01aeda2d8df82e1b3ec6dd06cfa566a1db2 mate-session-manager-1.19.0.tar.xz" -- cgit v1.2.3