aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-session-manager
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 15:14:05 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:21 +0000
commit71d269efbe53e6f40553cbdefe03b49b3c4554fa (patch)
treef36bf86de632d5b19962c4ccc85d48ce0de13167 /community/mate-session-manager
parent9c89184adee417e0875a10f71a7a9f0bcd0dd957 (diff)
downloadaports-71d269efbe53e6f40553cbdefe03b49b3c4554fa.tar.bz2
aports-71d269efbe53e6f40553cbdefe03b49b3c4554fa.tar.xz
community/mate-session-manager: upgrade to 1.19.0, added check(); modernized APKBUILD
Diffstat (limited to 'community/mate-session-manager')
-rw-r--r--community/mate-session-manager/APKBUILD36
1 files changed, 14 insertions, 22 deletions
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 <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
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"