#Maintainer: Thorsten Muehlfelder pkgname=splashy pkgver=20090728 pkgrel=5tm arch=i486 ###source=("http://alioth.debian.org/frs/download.php/2691/splashy-$pkgver.tar.gz" "http://thenktor.dyndns.org/packages/$pkgname/salix-splashy.tar.gz") source=("get-new-src.sh" "http://thenktor.dyndns.org/packages/$pkgname/$pkgname-$pkgver.src.tar.gz" "http://thenktor.dyndns.org/packages/$pkgname/salix-splashy.tar.gz") sourcetemplate=http://thenktor.dyndns.org/packages/$pkgname/ dotnew=('etc/splashy/config.xml') url="http://splashy.alioth.debian.org/" docs=('AUTHORS' 'ChanegLog' 'COPYING' 'HACKING' 'NEWS' 'README' 'TODO') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - (user-space boot splash system)" "splashy is a boot splash program that doesn't require patching the" "Linux kernel. It paints graphic images directly to framebuffers" "using libdirectfb" ) build() { ###cd $startdir/src/${pkgname}-$pkgver cd $startdir/src/${pkgname} ./autogen.sh -prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static #./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static make || return 1 make DESTDIR=$startdir/pkg install # change error in config file sed -i 's#${prefix}#/usr#' $startdir/pkg/etc/splashy/config.xml || return 1 # we don't need these (debian stuff) rm -rf $startdir/pkg/etc/{default,init.d,console-tools,lsb-base-logging.sh} rm -rf $startdir/pkg/usr/share/initramfs-tools # setup theme rm -f $startdir/pkg/usr/share/splashy/themes/default/* cp $startdir/src/salix-splashy/* $startdir/pkg/usr/share/splashy/themes/default/ || return 1 }