diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-22 12:51:13 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-25 07:11:21 +0000 |
commit | 2a937e7ccf45ea15fcb150c76240ca27c344c95b (patch) | |
tree | 5651c4f0cfeeeb19961668ec3c9d7f18e1b14aeb /community/mate-desktop | |
parent | 18cc80b30d1b145b1e345a7930749b2b1c9a57b4 (diff) | |
download | aports-2a937e7ccf45ea15fcb150c76240ca27c344c95b.tar.bz2 aports-2a937e7ccf45ea15fcb150c76240ca27c344c95b.tar.xz |
community/mate-desktop: upgrade to 1.19.0, added check,modernized APKBUILD
Diffstat (limited to 'community/mate-desktop')
-rw-r--r-- | community/mate-desktop/APKBUILD | 38 |
1 files changed, 16 insertions, 22 deletions
diff --git a/community/mate-desktop/APKBUILD b/community/mate-desktop/APKBUILD index 0d50be5ce0..5f415f7602 100644 --- a/community/mate-desktop/APKBUILD +++ b/community/mate-desktop/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Alan Lacerda <alacerda@alpinelinux.org> # Maintainer: Alan Lacerda <alacerda@alpinelinux.org> pkgname=mate-desktop -pkgver=1.18.0 +pkgver=1.19.0 pkgrel=0 pkgdesc="The MATE Desktop Environment" url="http://wiki.mate-desktop.org/mate-desktop" @@ -9,37 +9,31 @@ arch="all" license="GPL2" depends="mate-common yelp-tools" depends_dev="startup-notification" -makedepends="$depends_dev itstool intltool dconf-dev gtk+3.0-dev libxrandr-dev - libxml2-utils" -install="" +makedepends="$depends_dev itstool intltool dconf-dev gtk+3.0-dev + libxrandr-dev libxml2-utils" subpackages="$pkgname-lang $pkgname-dev $pkgname-doc" 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 \ + --enable-static=no \ --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="0490e9810009923fa315e7f191103bc797c37f4417cf41bf317c55d26f7b52a848a65c28dde6903a861694c131ca52f3ed0be05cbbf6b2dd1cb216539f513220 mate-desktop-1.18.0.tar.xz" +sha512sums="193b45ace8fdf572e8f63672e1594272e04c408e4da70a458a7ad73bd8444d39176f0a3bde80fb90860612180e67142a45e4f5207baaa134b7a1b3fe0ab2d589 mate-desktop-1.19.0.tar.xz" |