#Maintainer: Dimitris Tzemos <djemos~at~slackel~dot~gr>
#Packager: Dimitris Tzemos

pkgname=salix-kde-artwork
pkgver=13.37
pkgrel=1dj
arch=noarch
source=("salix-kde-artwork.tar.gz" "icons.tar.gz")
options=('nosrcpack')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"salix-kde-artwork (A Salix splash theme for KDE)"
"The salix-kde-artwork package provides KDE splash theme "
"that will match Salix artwork."
)


build() {
	cd $startdir/src/$pkgname
	mkdir -p $startdir/pkg/usr/share/apps/ksplash/Themes/salix-theme
	
	cp -R ./* $startdir/pkg/usr/share/apps/ksplash/Themes/salix-theme/
	mkdir -p $startdir/pkg/usr/share/icons/hicolor/128x128/apps
	mkdir -p $startdir/pkg/usr/share/icons/hicolor/scalable/apps
	cp $startdir/src/salix-kde.png $startdir/pkg/usr/share/icons/hicolor/128x128/apps/
	cp $startdir/src/salix-kde.svg $startdir/pkg/usr/share/icons/hicolor/scalable/apps/
	mkdir -p $startdir/pkg/usr/share/xfce4/backdrops
	mkdir -p $startdir/pkg/usr/share/wallpapers 
	ln -sf /usr/share/xfce4/backdrops/sheytanbv36.png $startdir/pkg/usr/share/wallpapers/sheytanbv36.png
	ln -sf /usr/share/xfce4/backdrops/StairWay.png $startdir/pkg/usr/share/wallpapers/StairWay.png
	
	chown -R root:root $startdir/pkg/

}