aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mate-polkit/APKBUILD
blob: 71b39425db89db6d837f39252951827d2bd418c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer:
pkgname=mate-polkit
pkgver=1.9.0
pkgrel=0
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+-dev
	gobject-introspection-dev"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://pub.mate-desktop.org/releases/1.9/$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
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
	find "$pkgdir" -name \*.la -delete
}

md5sums="f8c69fdd1476760c15b5a2f3fe249fdc  mate-polkit-1.9.0.tar.xz"
sha256sums="1df99e35bb5a7479a02fb6301b005fce941f8c7442dfd5c3371172204b75d8ef  mate-polkit-1.9.0.tar.xz"
sha512sums="45e177a243c73af7c583c3fa3f652e9f86b458eb714e591306c4a74e09aa406aae25d9a8b55e08867478c8dea52161e6378135e8a403cb84f842665eb7f059ed  mate-polkit-1.9.0.tar.xz"