summaryrefslogtreecommitdiffstats
path: root/extra/ktsuss/Pkgfile
blob: f559f9587ef15aeaf12149a0492139b13c00d229 (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
# 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, expat, fontconfig, freetype, glib, gtk, libpng, 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
}