source ../_buildscripts/${current_repo}-${_arch}-cfg.conf # In the future please create new pkgbuilds for these, this is a mess. pkgbase="kde-plasma-themes" pkgname=( #"kde-plasma-themes-neda" #"kde-plasma-themes-ronak" #"kde-plasma-themes-helium") pkgver=1.0 pkgrel=1 arch=('any') source=( # 'http://kde-look.org/CONTENT/content-files/125471-Helium.tar.xz') md5sums=( # 'f0a03eaa13b09e19d8f5d75001a8dae1') package_kde-plasma-themes-neda() { pkgver=1.8.3.2 pkgrel=1 pkgdesc="Chakra NEDA Plasma theme" url="http://www.chakra-project.org" license=('GPL') replaces=('kde-plasma-themes-kneda') mkdir -p $pkgdir/usr/share/apps/desktoptheme cd ${srcdir} cp -R Neda $pkgdir/usr/share/apps/desktoptheme # fix file rights chmod 755 -R $pkgdir/usr/share/apps/desktoptheme # remove nasty files find $pkgdir/ -name ".directory" -type f -exec rm -fr {} + } package_kde-plasma-themes-ronak() { pkgver=1.0 pkgrel=1 pkgdesc="Chakra RONAK Plasma theme" url="http://www.chakra-project.org" license=('GPL') mkdir -p $pkgdir/usr/share/apps/desktoptheme/RONAK cd ${srcdir}/ronak-plasma cp -R * $pkgdir/usr/share/apps/desktoptheme/RONAK # fix file rights chmod 755 -R $pkgdir/usr/share/apps/desktoptheme # remove nasty files find $pkgdir/ -name ".directory" -type f -exec rm -fr {} + } package_kde-plasma-themes-caledonia() { pkgver=1.3 pkgrel=1 pkgdesc="Malcer's dark Caledonia Plasma theme with Chakra adjustments" url="http://sourceforge.net/projects/caledonia/" license=('Creative-Commons-BY-ND') mkdir -p $pkgdir/usr/share/apps/desktoptheme/ cd $srcdir/caledonia-chakra cp -R * $pkgdir/usr/share/apps/desktoptheme/ # fix file rights chmod 755 -R $pkgdir/usr/share/apps/desktoptheme/caledonia # remove nasty files find $pkgdir/ -name ".directory" -type f -exec rm -fr {} + } package_kde-plasma-themes-helium() { pkgver=4.1.0 pkgrel=1 pkgdesc="Mcder's light theme for plasma desktop" url="http://kde-look.org/content/show.php/Helium?content=125471" license=('Creative-Commons-BY-SA-NC') mkdir -p $pkgdir/usr/share/apps/desktoptheme/helium cd $srcdir/Helium cp -R * $pkgdir/usr/share/apps/desktoptheme/helium # fix file rights chmod 755 -R $pkgdir/usr/share/apps/desktoptheme/helium # remove nasty files find $pkgdir/ -name ".directory" -type f -exec rm -fr {} + }