desktop/kde-plasma-themes-caledonia/PKGBUILD

36 lines
1.5 KiB
Bash
Raw Normal View History

2013-11-27 02:12:52 +08:00
pkgname=kde-plasma-themes-caledonia
2014-03-10 00:02:28 +08:00
pkgver=1.6.2
2014-02-18 01:04:30 +08:00
pkgrel=1
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'
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"
'branding.svgz'
'shutdowndialog.svgz')
2014-03-10 00:02:28 +08:00
md5sums=('2af5f52c96afcec2dd3be3563b4c6c33'
'770cb602a01378a67235ecb093c25380'
'ff786108cc2f544dd6069d1efc2027ad')
2013-11-27 02:12:52 +08:00
package() {
mkdir -p $pkgdir/usr/share/licenses/caledonia
mv ${srcdir}/Caledonia/LICENSE $pkgdir/usr/share/licenses/caledonia
chmod 644 -R ${pkgdir}/usr/share/licenses/caledonia/LICENSE
mkdir -p $pkgdir/usr/share/apps/desktoptheme/caledonia/
cd $srcdir/Caledonia
cp -R * $pkgdir/usr/share/apps/desktoptheme/caledonia/
# 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
rm ${pkgdir}/usr/share/apps/desktoptheme/caledonia/dialogs/shutdowndialog.svgz
install -Dm644 ${srcdir}/shutdowndialog.svgz ${pkgdir}/usr/share/apps/desktoptheme/caledonia/dialogs/shutdowndialog.svgz
2013-11-27 02:12:52 +08:00
}