aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce-polkit/APKBUILD
blob: a06dbafb7d3bc3bcbbd50b5ef813491e3d7f901b (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce-polkit
pkgver=0.3
pkgrel=1
pkgdesc="A simple PolicyKit authentication agent for XFCE"
url="https://github.com/ncopa/xfce-polkit"
arch="all"
license="GPL-2.0-only"
makedepends="libxfce4ui-dev polkit-dev glib-dev gtk+3.0-dev autoconf automake"
source="https://github.com/ncopa/xfce-polkit/releases/download/v$pkgver/xfce-polkit-$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--libexecdir=/usr/lib/xfce4
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="2f6c2300caad1410f139e9192046a60e4e64954867085d22ab403f7808634cce7a269de05de13bebeda025c9e5251b1c042efc5af1417f0153dec47c616d15ba  xfce-polkit-0.3.tar.gz"