aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/mate-polkit/APKBUILD34
1 files changed, 13 insertions, 21 deletions
diff --git a/community/mate-polkit/APKBUILD b/community/mate-polkit/APKBUILD
index df2f7b22dd..7232bd2906 100644
--- a/community/mate-polkit/APKBUILD
+++ b/community/mate-polkit/APKBUILD
@@ -2,44 +2,36 @@
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-polkit
pkgver=1.18.1
-pkgrel=0
+pkgrel=1
pkgdesc="MATE Authentication Agent for PolicyKit"
url="https://github.com/mate-desktop/mate-polkit"
arch="all"
license="GPL2"
depends="mate-common"
-depends_dev=""
-makedepends="$depends_dev polkit-dev libtool intltool gtk+3.0-dev
+makedepends="polkit-dev libtool intltool gtk+3.0-dev
gobject-introspection-dev"
-install=""
subpackages="$pkgname-dev $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 \
- || 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="086723b0b0c14a6b1ea77e1f0a294546ef3e44d42a460e424b22c92e8f962bf55c9c379600fb6642be60167ef07f07835c2eb939232941051aa397af805e79fa mate-polkit-1.18.1.tar.xz"