mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 13:57:19 +08:00
135 lines
4.5 KiB
Bash
135 lines
4.5 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
#
|
|
# package info
|
|
#
|
|
pkgname=("chakra-wallpapers-crunchy-branch-blue"
|
|
"chakra-wallpapers-ashoc"
|
|
"chakra-wallpapers-neda"
|
|
"chakra-wallpapers-ronak"
|
|
"chakra-wallpapers-ronak-light")
|
|
pkgver=0.1
|
|
pkgrel=1
|
|
pkgdesc="Chakra Wallpapers for KDE"
|
|
url="http://www.chakra-project.org"
|
|
license="GPL"
|
|
arch=('any')
|
|
options=('!splithdr' 'splitdbg')
|
|
groups=("kde" "kde-uninstall")
|
|
|
|
source=("http://chakra.sourceforge.net/sources/kde-wallpapers/kde-wallpapers-crunchy-branch-blue-1.0.tar.gz"
|
|
"http://chakra.sourceforge.net/sources/kde-wallpapers/kde-wallpapers-ashoc-1.0-2.tar.gz"
|
|
"http://chakra.sourceforge.net/sources/neda/NEDA.tar.gz"
|
|
"http://chakra.sourceforge.net/sources/ronak/ronak-wallpaper-1.0.tar.gz"
|
|
"http://chakra.sourceforge.net/sources/ronak/ronak-light-wallpaper-1.0.tar.gz")
|
|
md5sums=("52d75a03f18204dde7965bd3dccb9ce4" # kde-wallpapers-crunchy-branch-blue-1.0.tar.gz
|
|
"e6a3a7e170a739d226c180f5c2a09618" # kde-wallpapers-ashoc-1.0-2.tar.gz
|
|
"83686866b1e7313b77b3cf98c5c4ddc3" # NEDA.tar.gz
|
|
"0ec4edb6308f647e8eedb4490b846008"
|
|
"ff75399ca35846ee8dab701af975b8ee")
|
|
|
|
makedepends=('automoc4')
|
|
|
|
#
|
|
# split-install functions
|
|
#
|
|
package_chakra-wallpapers-crunchy-branch-blue() {
|
|
pkgdesc="Crunchy-Branch Wallpaper (blue) by Carles Codony"
|
|
groups=("kde-uninstall" "chakra-wallpapers")
|
|
replaces=('kde-wañÃllpapers-crunchy-branch-blue')
|
|
|
|
_WALLPAPER="crunchy-branch-blue"
|
|
|
|
cd ${srcdir}/$_WALLPAPER
|
|
|
|
mkdir -pv $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
cp -Rv * $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
|
|
cp -v $startdir/metadata.desktop $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
|
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
|
sed -i -e "s~WALLPAPERNAME~$_WALLPAPER~g" metadata.desktop
|
|
sed -i -e "s~AUTHOR~Carles Codony~g" metadata.desktop
|
|
}
|
|
|
|
package_chakra-wallpapers-ashoc() {
|
|
pkgdesc="Ashoc Wallpaper by Taner Candan"
|
|
groups=("kde-uninstall" "chakra-wallpapers")
|
|
replaces=('kde-wallpapers-ashoc')
|
|
|
|
_WALLPAPER="ashoc"
|
|
|
|
cd ${srcdir}/$_WALLPAPER
|
|
|
|
mkdir -pv $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
cp -Rv * $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
|
|
cp -v $startdir/metadata.desktop $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
|
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
|
sed -i -e "s~WALLPAPERNAME~$_WALLPAPER~g" metadata.desktop
|
|
sed -i -e "s~AUTHOR~Taner Candan~g" metadata.desktop
|
|
}
|
|
|
|
package_chakra-wallpapers-neda() {
|
|
pkgdesc="Chakra NEDA Theme by Roozbeh Shafiee"
|
|
groups=("kde-uninstall" "chakra-wallpapers")
|
|
replaces=('kde-wallpapers-neda')
|
|
|
|
_WALLPAPER="NEDA"
|
|
|
|
cd ${srcdir}/NEDA/wallpaper/
|
|
|
|
mkdir -pv $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
cp -Rv * $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
|
|
cp -v $startdir/metadata.desktop $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
|
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
|
sed -i -e "s~WALLPAPERNAME~$_WALLPAPER~g" metadata.desktop
|
|
sed -i -e "s~AUTHOR~Roozbeh Shafiee~g" metadata.desktop
|
|
}
|
|
|
|
package_chakra-wallpapers-ronak() {
|
|
|
|
pkgdesc="Chakra Ronak Theme by Roozbeh Shafiee "
|
|
groups=("kde-uninstall" "chakra-wallpapers")
|
|
replaces=('kde-wallpapers-ronak')
|
|
|
|
_WALLPAPER="RONAK"
|
|
|
|
cd ${srcdir}/ronak-wallpaper
|
|
|
|
mkdir -pv $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
cp -Rv * $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
|
|
cp -v $startdir/metadata.desktop $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
|
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
|
sed -i -e "s~WALLPAPERNAME~$_WALLPAPER~g" metadata.desktop
|
|
sed -i -e "s~AUTHOR~Roozbeh Shafiee~g" metadata.desktop
|
|
}
|
|
|
|
package_chakra-wallpapers-ronak-light() {
|
|
|
|
pkgdesc="Chakra Ronak Theme by Roozbeh Shafiee "
|
|
groups=("kde-uninstall" "chakra-wallpapers")
|
|
replaces=('kde-wallpapers-ronak-light')
|
|
|
|
_WALLPAPER="RONAK-LIGHT"
|
|
|
|
cd ${srcdir}/ronak-light-wallpaper
|
|
|
|
mkdir -pv $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
cp -Rv * $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
|
|
|
cp -v $startdir/metadata.desktop $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
|
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
|
sed -i -e "s~WALLPAPERNAME~$_WALLPAPER~g" metadata.desktop
|
|
sed -i -e "s~AUTHOR~Roozbeh Shafiee~g" metadata.desktop
|
|
}
|