aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-notification-daemon/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 15:03:33 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:21 +0000
commitaf12bf4ce0e9f2e1d4fccf5e44249f5b6c356d68 (patch)
tree61a6c5ec9e3f1c0e5cb9a36644ed91749f417d61 /community/mate-notification-daemon/APKBUILD
parentdb10f2b967f24f74acce23509f70e9f63c2591de (diff)
downloadaports-af12bf4ce0e9f2e1d4fccf5e44249f5b6c356d68.tar.bz2
aports-af12bf4ce0e9f2e1d4fccf5e44249f5b6c356d68.tar.xz
community/mate-notification-daemon: upgrade to 1.19.0, modernize APKBUILD; added check()
Diffstat (limited to 'community/mate-notification-daemon/APKBUILD')
-rw-r--r--community/mate-notification-daemon/APKBUILD39
1 files changed, 15 insertions, 24 deletions
diff --git a/community/mate-notification-daemon/APKBUILD b/community/mate-notification-daemon/APKBUILD
index cea7f7f443..d15a53473e 100644
--- a/community/mate-notification-daemon/APKBUILD
+++ b/community/mate-notification-daemon/APKBUILD
@@ -1,46 +1,37 @@
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-notification-daemon
-pkgver=1.18.0
+pkgver=1.19.0
pkgrel=0
pkgdesc="Small, passive popup dialogs that notify the user of particular events"
url="https://github.com/mate-desktop/mate-notification-daemon"
arch="all"
license="GPL2"
depends="mate-common"
-depends_dev=""
-makedepends="$depends_dev libwnck3-dev libnotify-dev libtool intltool dbus-glib-dev
- libcanberra-dev"
-install=""
+makedepends="libwnck3-dev libnotify-dev libtool intltool dbus-glib-dev
+ libcanberra-dev gtk+3.0-dev"
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 \
- --with-gtk=2.0 \
--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="5405a33dd4f78d22fa5f666b94b74d20c046518d5c631a95b286f370dfd6dc4d1ae6dd2b0676fcf8e01c1d1d40bbfd9055180e1cab869913c3d56a1a5d0872aa mate-notification-daemon-1.18.0.tar.xz"
+sha512sums="22513be47560300706b134e113c1b11a0b980e53ef977dd330f3aa8ee270b8dbf3e0f6f85cc363584defb8cd796fd38dc8a7f9e2a1fd904538075b61eec72e21 mate-notification-daemon-1.19.0.tar.xz"