mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-09 23:47:16 +08:00
99 lines
2.4 KiB
Bash
99 lines
2.4 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.0
|
|
pkgrel=2
|
|
|
|
pkgbase="${_pkgprefix}-kdm-themes"
|
|
pkgname=("${_pkgprefix}-kdm-themes-crunchy-branch-blue"
|
|
"${_pkgprefix}-kdm-themes-ashoc")
|
|
|
|
|
|
|
|
pkgdesc="KDE Themes for Chakra"
|
|
url="http://chakra-project.org"
|
|
license="GPL"
|
|
arch=('any')
|
|
options=('!splithdr' 'splitdbg')
|
|
|
|
groups=("${_pkgprefix}" "${_pkgprefix}-complete" "${_pkgprefix}-uninstall" "${_pkgprefix}-minimal")
|
|
|
|
source=("http://chakra-project.org/sources/kdm-themes/kde-kdm-themes-crunchy-branch-blue-1.0.tar.gz"
|
|
"http://chakra-project.org/sources/kdm-themes/kde-kdm-themes-ashoc-1.0.tar.gz")
|
|
md5sums=("ce9d6d5d89770c0f48f8b1dfc473d54c" # kde-kdm-themes-crunchy-branch-blue-1.0.tar.gz
|
|
"21dfcdaa8b47008d7d03ddb64b5e72d8") # kde-kde-kdm-themes-ashoc-1.0.tar.gz
|
|
|
|
#_gitroot="git://git.chakra-project.org/artwork/kdm-themes.git"
|
|
#_gitname="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=("${_pkgprefix}" "${_pkgprefix}-complete" "${_pkgprefix}-uninstall" "${_pkgprefix}-minimal" "${_pkgprefix}-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=("${_pkgprefix}" "${_pkgprefix}-complete" "${_pkgprefix}-uninstall" "${_pkgprefix}-minimal" "${_pkgprefix}-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
|
|
|
|
}
|
|
|