summaryrefslogtreecommitdiffstats
path: root/base/splashy/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-09-15 23:11:21 +0200
committertnut <thierryn1 at hispeed dot ch>2010-09-15 23:11:21 +0200
commit0067af6bb4d6fdcceec52ab25fd45eb89dfdb673 (patch)
tree7b558c93ffac658e306bd8572c41d9acb3130d99 /base/splashy/Pkgfile
parent619b2345976fdfc3ae16f26177c371d139e7154a (diff)
downloadnutyx-extra-0067af6bb4d6fdcceec52ab25fd45eb89dfdb673.tar.gz
nutyx-extra-0067af6bb4d6fdcceec52ab25fd45eb89dfdb673.tar.bz2
nutyx-extra-0067af6bb4d6fdcceec52ab25fd45eb89dfdb673.tar.xz
nutyx-extra-0067af6bb4d6fdcceec52ab25fd45eb89dfdb673.zip
maj splashy#0.3.13-3
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
}