summaryrefslogtreecommitdiffstats
path: root/ktsuss/Pkgfile
blob: fa356725fae1f5a76fb2adf186b88b8c0c848df9 (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, xorg-libxcursor, xorg-libxdamage, xorg-libxrandr, xorg-libxinerama
# Run on: atk,fontconfig,gtk,pango,xorg-libxcb

name=ktsuss
version=1.4
release=4
source=(http://slackware.org.uk/slacky/slackware-13.37/system/$name/$version/src/$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
}