summaryrefslogtreecommitdiffstats
path: root/extra/ktsuss/Pkgfile
blob: 017038e022ee98ddd733684b5d31122443e91f37 (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: 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, directfb, expat, fontconfig, freetype, glib, gtk, libpng, pango, xorg-libxcb, zlib 

name=ktsuss
version=1.4
release=3
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
}