summaryrefslogtreecommitdiffstats
path: root/extra/ktsuss/Pkgfile
blob: d34fd3bd6268e9764599befeaae89a01bef2d6f5 (plain)
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
# Description: Permet l'execution de programme root en environnement non root
# URL: http://developer.berlios.de/projects/ktsuss
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: atk, fontconfig, gtk, pango, xorg-libxcb
# Run on: atk,fontconfig,gtk,pango,xorg-libxcb

name=ktsuss
version=1.4
release=4
source=(http://download.berlios.de/$name/$name-$version.tar.gz \
	gksu ktsuss)

build() {
	cd $name-$version
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
	chmod u+s $PKG/usr/bin/ktsuss
	mv $PKG/usr/bin/ktsuss $PKG/usr/libexec
	for i in ktsuss gksu
		do install -m755 ../$i $PKG/usr/bin/
	done
}