aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-15 12:02:49 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-15 16:28:45 +0000
commit0a67ca4e381ac7531284a31bd8c296eb50c15c02 (patch)
tree1149f36fee3100a1c3ed6f69ac74eb0d813edb10 /community
parent5b0c913cadc9baf8dd7299917802d6a555fe2260 (diff)
downloadaports-0a67ca4e381ac7531284a31bd8c296eb50c15c02.tar.bz2
aports-0a67ca4e381ac7531284a31bd8c296eb50c15c02.tar.xz
community/mate-utils: bump pkgrel due to libgtop upgrade
Diffstat (limited to 'community')
-rw-r--r--community/mate-utils/APKBUILD40
1 files changed, 15 insertions, 25 deletions
diff --git a/community/mate-utils/APKBUILD b/community/mate-utils/APKBUILD
index 2e5ea1faeb..2479ceb828 100644
--- a/community/mate-utils/APKBUILD
+++ b/community/mate-utils/APKBUILD
@@ -2,45 +2,35 @@
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-utils
pkgver=1.18.2
-pkgrel=0
+pkgrel=1
pkgdesc="Utilities for the MATE Desktop"
url="https://github.com/mate-desktop/mate-utils"
arch="all"
license="GPLv2"
-depends=""
-depends_dev=""
-makedepends="$depends_dev intltool glib-dev gtk+2.0-dev mate-panel-dev
+makedepends="intltool glib-dev gtk+2.0-dev mate-panel-dev
libgtop-dev libcanberra-dev itstool libsm-dev libxml2-utils"
-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 \
- --prefix=/usr \
- --enable-all-themes || return 1
-
- make || return 1
+ --build=$CBUILD \
+ --host=$CHOST \
+ --sysconfdir=/etc \
+ --prefix=/usr \
+ --enable-all-themes
+ make
+}
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="${pkgdir}" install || return 1
}