desktop/kde-kdm-themes/PKGBUILD
2011-01-04 16:47:32 +01:00

117 lines
2.8 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
#
# package info
#
pkgname=kde-kdm-themes
pkgver=1.1
pkgrel=1
pkgbase="kde-kdm-themes"
pkgname=("kde-kdm-themes-crunchy-branch-blue"
"kde-kdm-themes-ashoc"
"kde-kdm-themes-neda")
pkgdesc="KDE Themes for Chakra"
url="http://chakra-project.org"
license="GPL"
arch=('any')
options=('!splithdr' 'splitdbg')
groups=("kde" "kde-complete" "kde-uninstall" "kde-minimal")
source=("http://chakra-project.org/sources/kde-kdm-themes/kde-kdm-themes-crunchy-branch-blue-1.0.tar.gz"
"http://chakra-project.org/sources/kde-kdm-themes/kde-kdm-themes-ashoc-1.0.tar.gz"
"http://chakra-project.org/sources/neda/NEDA.tar.gz")
md5sums=("ce9d6d5d89770c0f48f8b1dfc473d54c" # kde-kdm-themes-crunchy-branch-blue-1.0.tar.gz
"21dfcdaa8b47008d7d03ddb64b5e72d8" # kde-kdm-themes-ashoc-1.0.tar.gz
'83686866b1e7313b77b3cf98c5c4ddc3')
#_gitroot="git://git.chakra-project.org/artwork/kde-kdm-themes.git"
#_gitname="kde-kdm-themes"
#
#
# build function
#
build() {
echo "Let's go"
# Smart hack here, cool :)
# cd "${srcdir}"
# msg "Connecting to GIT server...."
#
# if [ -d $_gitname ] ; then
# cd $_gitname && git pull
# msg "The local files are updated."
# else
# git clone $_gitroot
# fi
# msg "GIT checkout done or server timeout"
# msg "Starting make..."
#
# rm -rf "${srcdir}/$_gitname-build"
#
# cp -r "${srcdir}/$_gitname" "${srcdir}/$_gitname-build"
}
#
# split-install functions
#
package_kde-kdm-themes-crunchy-branch-blue()
{
pkgdesc="Crunchy branch KDM-Theme (blue)"
groups=("kde" "kde-complete" "kde-uninstall" "kde-minimal" "kde-kdm-themes")
install=('crunchy-branch-blue.install')
cd ${srcdir}/crunchy-branch-blue
mkdir -pv $pkgdir/usr/share/apps/kdm/themes/crunchy-branch-blue
cp -Rv * $pkgdir/usr/share/apps/kdm/themes/crunchy-branch-blue
}
package_kde-kdm-themes-ashoc()
{
pkgdesc="Ashoc KDM-Theme"
groups=("kde" "kde-complete" "kde-uninstall" "kde-minimal" "kde-kdm-themes")
install=('ashoc.install')
cd ${srcdir}/ashoc
mkdir -pv $pkgdir/usr/share/apps/kdm/themes/ashoc
cp -Rv * $pkgdir/usr/share/apps/kdm/themes/ashoc
}
package_kde-kdm-themes-neda()
{
pkgdesc="Chakra NEDA KDM-Theme"
groups=("kde" "kde-complete" "kde-uninstall" "kde-minimal" "kde-kdm-themes")
install=('neda.install')
cd ${srcdir}/NEDA/KDM/Chakra-NEDA
mkdir -pv $pkgdir/usr/share/apps/kdm/themes/NEDA
cp -Rv * $pkgdir/usr/share/apps/kdm/themes/NEDA
cp -v ${startdir}/neda-background.sh $pkgdir/usr/share/apps/kdm/themes/NEDA/background.sh
chmod a+x $pkgdir/usr/share/apps/kdm/themes/NEDA/background.sh
}