summaryrefslogtreecommitdiffstats
path: root/extra/e17/Pkgfile
blob: 3eace490f27a354b3ea2afb6e8cbd5dd714aa472 (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
26
27
28
# Description: Enlightenment DR17 window manager snapshot version.
# URL: http://www.enlightenment.org/
# Maintainer: NuTyX core team
# Packager: geantbrun at gmail dot com
# Depends on: eina, evas, ecore, e_dbus, embryo, eet, efreet, edje, curl, alsa-lib

name=e17
version=0.16.999.49898
release=2
source=(http://download.enlightenment.org/snapshots/2010-06-27/enlightenment-$version.tar.bz2 \ 
	e17.desktop E17.xinitrc)

build()
{
	install -D -m644 E17.xinitrc $PKG/etc/X11/dm/E17.xinitrc
	install -D -m644 e17.desktop $PKG/usr/share/xsessions/e17.desktop
        install -D -m644 e17.desktop $PKG/usr/share/apps/kdm/sessions/e17.desktop
	cd enlightenment-$version

	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
	echo "/etc/X11/dm/E17.xinitrc /usr/bin/startx.qingy"
	mkdir -p $PKG/etc/qingy/sessions
	echo "userclientrc=/etc/X11/dm/E17.xinitrc /usr/bin/startx.qingy" >\
	$PKG/etc/qingy/sessions/Enlightenment
	chmod 755 $PKG/etc/qingy/sessions/Enlightenment
}