summaryrefslogtreecommitdiffstats
path: root/base/splashy/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/splashy/Pkgfile')
-rw-r--r--base/splashy/Pkgfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/base/splashy/Pkgfile b/base/splashy/Pkgfile
index 9b36a3f68..4043df3dd 100644
--- a/base/splashy/Pkgfile
+++ b/base/splashy/Pkgfile
@@ -5,9 +5,9 @@
name=splashy
version=0.3.13
-release=1
+release=3
source=(http://alioth.debian.org/frs/download.php/2691/$name-$version.tar.gz\
- splashy nutyx-attapu.jpg)
+ splashy nutyx-attapu.jpg theme.xml)
build() {
cd $name-$version
@@ -18,14 +18,16 @@ build() {
--sysconfdir=/etc
make
make DESTDIR=$PKG install
- mkdir -p $PKG/etc/rc.d{,/rcsysinit.d}
+ mkdir -p $PKG/etc/{$name/steps_dir,rc.d{,/rcsysinit.d}}
mv $PKG/etc/{init.d,rc.d/}
cp ../splashy $PKG/etc/rc.d/init.d/
chmod 754 $PKG/etc/rc.d/init.d/splashy
ln -s ../init.d/splashy $PKG/etc/rc.d/rcsysinit.d/S00splashy
rm $PKG/etc/lsb-base-logging.sh
cp ../nutyx-attapu.jpg \
- $PKG/usr/share/splashy/themes/default/background.jpg
- sed -i "s/background.png/background.jpg/g" \
+ $PKG/usr/share/splashy/themes/default/nutyx-attapu.jpg
+ cp ../theme.xml \
$PKG/usr/share/splashy/themes/default/theme.xml
+ sed -i "s|/lib/init/rw/splashy|/etc/splashy/steps_dir|" \
+ $PKG/etc/default/splashy
}