desktop/kde-plasma-themes/PKGBUILD

46 lines
1.3 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase="kde-plasma-themes"
pkgname=("kde-plasma-themes-neda"
"kde-plasma-themes-kneda")
pkgver=1.0
pkgrel=1
arch=('any')
source=('http://chakra-project.org/sources/neda/NEDA.tar.gz'
'http://chakra-project.org/sources/kneda/Kneda-0.6.4.tar.gz')
md5sums=('83686866b1e7313b77b3cf98c5c4ddc3'
'149b1ace8fa3d2d7f981bc6841749f83')
package_kde-plasma-themes-neda() {
pkgver=1.0
pkgrel=1
pkgdesc="Chakra NEDA Plasma theme"
url="http://www.chakra-project.org"
license=('GPL')
mkdir -p $pkgdir/usr/share/apps/desktoptheme
cd $startdir/src/NEDA/Plasma
cp -Rv NEDA $pkgdir/usr/share/apps/desktoptheme
}
package_kde-plasma-themes-kneda() {
pkgver=0.6.4
pkgrel=1
pkgdesc="Chakra KNEDA Plasma theme"
url="http://www.chakra-project.org"
license=('GPL')
mkdir -p $pkgdir/usr/share/apps/desktoptheme
cd $startdir/src
cp -R Kneda $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 {} +
}