aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 15:15:15 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:21 +0000
commit279db2a6c5999db50c2bbe8e759457d1cfaba520 (patch)
tree733241504d11ae3c769960cf8f17eae452bee1db
parent71d269efbe53e6f40553cbdefe03b49b3c4554fa (diff)
downloadaports-279db2a6c5999db50c2bbe8e759457d1cfaba520.tar.gz
aports-279db2a6c5999db50c2bbe8e759457d1cfaba520.tar.bz2
aports-279db2a6c5999db50c2bbe8e759457d1cfaba520.tar.xz
community/mate-settings-daemon: upgrade to 1.19.0, added check(), modernize APKBUILD
-rw-r--r--community/mate-settings-daemon/APKBUILD39
1 files changed, 15 insertions, 24 deletions
diff --git a/community/mate-settings-daemon/APKBUILD b/community/mate-settings-daemon/APKBUILD
index 7af5532d7e..3c7396038e 100644
--- a/community/mate-settings-daemon/APKBUILD
+++ b/community/mate-settings-daemon/APKBUILD
@@ -1,48 +1,39 @@
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-settings-daemon
-pkgver=1.18.1
+pkgver=1.19.0
pkgrel=0
pkgdesc="MATE Settings daemon"
url="https://github.com/mate-desktop/mate-settings-daemon"
arch="all"
license="GPL2"
depends="mate-common mate-desktop"
-depends_dev=""
-makedepends="$depends_dev libtool intltool libmatekbd-dev freeglut-dev
- glib-dev gtk+2.0-dev dbus-glib-dev dconf-dev libxklavier-dev libsm-dev
+makedepends="libtool intltool libmatekbd-dev freeglut-dev
+ glib-dev gtk+3.0-dev dbus-glib-dev dconf-dev libxklavier-dev libsm-dev
mate-desktop-dev polkit-dev startup-notification-dev"
-install=""
subpackages="$pkgname-dev $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 \
- --with-gtk=2.0 \
--enable-polkit \
- --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="35ea953a508c1a8a2359a13f36789f2b171873e2b153f3c7e5e779a900672cf19a4f36892136d4886e61349f536706f0ab0e781cbde3e246c490c66af3e621d6 mate-settings-daemon-1.18.1.tar.xz"
+sha512sums="ac95e94b0ed9169498ffe4f8de22570c8a48bab8780dff50aba953370600418bf4c5caa84d598295edebe6dee016b9a2f506dbe36b547c8a2e7910ecbf5ef2a5 mate-settings-daemon-1.19.0.tar.xz"