#Maintainer: Thorsten Muehlfelder #Former Maintainer(s): Antonino Ingegnere pkgname=lxde-common pkgver=0.3.2.1 pkgrel=1 zenver=62 arch=i686 source=(http://mesh.dl.sourceforge.net/sourceforge/lxde/lxde-common-$pkgver.tar.bz2) sourcetemplate=http://thenktor.dyndns.org/packages/$pkgname/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://lxde.org slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - default config" ) build() { cd $startdir/src/$pkgname-$pkgver # at first change some default settings: # Tango as icon theme sed -i 's#sNet/IconThemeName=nuoveXT2#sNet/IconThemeName=Tango#' lxde-settings/config || return 1 # lxterminal as default terminal sed -i 's/^Terminal=xterm -e/Terminal=lxterminal -e/' lxpanel/config || return 1 sed -i 's/id=gnome-terminal.desktop/id=lxterminal.desktop/' lxpanel/panel.in || return 1 # iceweasel as browser sed -i 's/id=firefox.desktop/id=iceweasel.desktop/' lxpanel/panel.in || return 1 # zenwalk menu icon sed -i 's#/share/lxpanel/images/my-computer.png#/share/icons/Tango/48x48/apps/zenwalk.png#' lxpanel/panel.in || return 1 # panel background and font color sed -i 's#background=1#background=0#' lxpanel/panel.in || return 1 sed -i 's#usefontcolor=1#usefontcolor=0#' lxpanel/panel.in || return 1 # openbox theme sed -i 's#Onyx#Clearlooks#' openbox/rc.xml.in || return 1 # wallpaper #sed -i 's#/share/lxde/wallpapers/lxde_blue.jpg#/share/wallpapers/default.jpg#' pcmanfm/main.lxde.in || return 1 # build ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make -j3 || return 1 make install DESTDIR=$startdir/pkg # remove the icon theme for smaller package size (should be an own package) rm -r $startdir/pkg/usr/share/icons || return 1 }