desktop/kde-plasma-themes/PKGBUILD

67 lines
1.9 KiB
Bash

# maintainer abveritas[at]chakra-project[dot]org>
# include global config
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=3
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-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 {} +
}