2013-11-27 02:12:52 +08:00
|
|
|
pkgname=kde-plasma-themes-caledonia
|
2015-03-30 15:53:34 +08:00
|
|
|
pkgver=2.0
|
2015-05-04 13:22:36 +08:00
|
|
|
pkgrel=4
|
2013-11-27 02:12:52 +08:00
|
|
|
arch=('x86_64')
|
|
|
|
pkgdesc="Malcer's dark Caledonia Plasma theme with Chakra branding"
|
|
|
|
url=("http://caledonia.sourceforge.net/")
|
|
|
|
license='Creative-Commons-BY-ND'
|
2015-05-04 05:03:32 +08:00
|
|
|
groups=('caledonia' 'caledonia2.0')
|
2013-11-27 02:12:52 +08:00
|
|
|
screenshot="http://caledonia.sourceforge.net/img/slideshow/caledonia-04.png"
|
2014-03-10 00:02:28 +08:00
|
|
|
source=("http://sourceforge.net/projects/caledonia/files/Caledonia%20%28Plasma-KDE%20Theme%29/Caledonia-${pkgver}.tar.gz"
|
2014-05-03 06:31:31 +08:00
|
|
|
'branding.svgz')
|
2015-03-30 15:53:34 +08:00
|
|
|
md5sums=('c4167e82c98322bb578f06901edd47a2'
|
2014-05-03 06:31:31 +08:00
|
|
|
'cee6a3d546174a46c53fce413f57ba5c')
|
2013-11-27 02:12:52 +08:00
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p $pkgdir/usr/share/licenses/caledonia
|
2015-05-04 13:22:36 +08:00
|
|
|
install -Dm644 ${srcdir}/Caledonia/LICENSE.txt $pkgdir/usr/share/licenses/caledonia/LICENSE
|
2013-11-27 02:12:52 +08:00
|
|
|
chmod 644 -R ${pkgdir}/usr/share/licenses/caledonia/LICENSE
|
|
|
|
|
|
|
|
mkdir -p $pkgdir/usr/share/apps/desktoptheme/caledonia/
|
|
|
|
cd $srcdir/Caledonia
|
2015-05-04 13:22:36 +08:00
|
|
|
cp -Rv * $pkgdir/usr/share/apps/desktoptheme/caledonia/
|
2013-11-27 02:12:52 +08:00
|
|
|
# fix file rights
|
|
|
|
chmod 755 -R $pkgdir/usr/share/apps/desktoptheme/caledonia
|
|
|
|
# remove nasty files
|
|
|
|
find $pkgdir/ -name ".directory" -type f -exec rm -fr {} +
|
|
|
|
|
|
|
|
# replace with Chakra branding
|
|
|
|
rm ${pkgdir}/usr/share/apps/desktoptheme/caledonia/widgets/branding.svgz
|
|
|
|
install -Dm644 ${srcdir}/branding.svgz ${pkgdir}/usr/share/apps/desktoptheme/caledonia/widgets/branding.svgz
|
2015-05-04 13:22:36 +08:00
|
|
|
|
|
|
|
# duplicate one for plasma5
|
|
|
|
install -dm755 ${pkgdir}/usr/share/plasma/desktoptheme
|
|
|
|
cp -rv $pkgdir/usr/share/apps/desktoptheme/caledonia $pkgdir/usr/share/plasma/desktoptheme/caledonia
|
2013-11-27 02:12:52 +08:00
|
|
|
}
|
|
|
|
|