aboutsummaryrefslogtreecommitdiffstats
path: root/community/marco
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 13:10:38 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:21 +0000
commitbd7b7061899ac28b41ed186c5b58f171c773ff84 (patch)
treebd9eb052ebb90993b6c73da75644836151dc8282 /community/marco
parent862bbbe07066191bfb291db35cc2bd342931c14f (diff)
downloadaports-bd7b7061899ac28b41ed186c5b58f171c773ff84.tar.bz2
aports-bd7b7061899ac28b41ed186c5b58f171c773ff84.tar.xz
community/marco: added check(), modernized APKBUILD
Diffstat (limited to 'community/marco')
-rw-r--r--community/marco/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/marco/APKBUILD b/community/marco/APKBUILD
index 32f75c881c..cbd9c421d4 100644
--- a/community/marco/APKBUILD
+++ b/community/marco/APKBUILD
@@ -2,31 +2,34 @@
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=marco
pkgver=1.19.1
-pkgrel=0
+pkgrel=1
pkgdesc="MATE window manager"
url="https://github.com/mate-desktop/marco"
arch="all"
license="GPL2"
depends="mate-common yelp-tools libxml2-utils"
-depends_dev=""
-makedepends="$depends_dev libtool itstool zenity intltool glib-dev gtk+2.0-dev
+makedepends="libtool itstool zenity intltool glib-dev gtk+3.0-dev
libxcomposite-dev libcanberra-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-
builddir="$srcdir/$pkgname-$pkgver"
+
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --with-gtk=2.0 \
--sysconfdir=/etc \
--localstatedir=/var \
--prefix=/usr
make CFLAGS='-D_GNU_SOURCE'
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install