summaryrefslogtreecommitdiffstats
path: root/polkit-gnome/Pkgfile
blob: ab7cf004a8c3deeb9c2e1127e8df7d0f6a39d629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Systeme d'abstraction de materiel
# URL: http://hal.freedesktop.org/docs/polkit-gnome
# Maintainer: NuTyX GNOME team
# Packager: b at juglas dot name
# Depends on: polkit, gtk3
# Run on: polkit,gtk3

name=polkit-gnome
version=0.105
release=2
source=(http://ftp.gnome.org/pub/GNOME/sources/$name/$version/$name-$version.tar.xz
	polkit-gnome-authentication-agent-1.desktop)

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/polkit-gnome \
		--localstatedir=/var
	make
	make DESTDIR=$PKG install
	install -Dm644 ../polkit-gnome-authentication-agent-1.desktop $PKG/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
}