desktop/kdeartwork/PKGBUILD
2014-07-23 18:28:04 +00:00

185 lines
5.6 KiB
Bash

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=('kdeartwork')
pkgname=('kdeartwork-colorschemes'
'kdeartwork-desktopthemes'
'kdeartwork-emoticons'
'kdeartwork-iconthemes'
'kdeartwork-screensavers'
'kdeartwork-styles'
'kdeartwork-wallpapers'
'kdeartwork-weatherwallpapers')
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
url="http://www.kde.org/"
license=('GPL' 'LGPL' 'FDL')
install=${pkgbase}.install
makedepends=('pkg-config'
'cmake'
'automoc4'
'xscreensaver'
'eigen'
"kde-workspace>=${_workspace_ver}")
source=($_mirror/${pkgbase}-$_kdever.tar.xz
http://www.kde-look.org/CONTENT/content-files/92545-xscreensaver.tar.bz2)
sha256sums=(`grep ${pkgbase}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`
'f6f500b66b97b62d08f885662da7c3deca5b00d01431f3692693b9b29bdd4779')
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
}
package_kdeartwork-aurorae() {
pkgdesc='An Aurorae theme based on the Oxygen plasma theme'
depends=("kde-workspace>=${_workspace_ver}")
groups=("${pkgbase}" "kde" "kde-uninstall")
conflicts=("kdeartwork-common")
splitdirs="aurorae"
for i in ${splitdirs} ; do
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
make DESTDIR=${pkgdir} install
done
}
package_kdeartwork-colorschemes() {
pkgdesc="KDE Artwork - Color Schemes"
depends=("kde-workspace>=${_workspace_ver}")
groups=("${pkgbase}" "kde" "kde-uninstall")
conflicts=("kdeartwork-common")
splitdirs="ColorSchemes"
for i in ${splitdirs} ; do
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
make DESTDIR=${pkgdir} install
done
}
package_kdeartwork-desktopthemes() {
pkgdesc="KDE Artwork - Additional Desktop Themes"
depends=("kde-workspace>=${_workspace_ver}")
groups=("${pkgbase}" "kde" "kde-uninstall")
conflicts=("kdeartwork-common")
splitdirs="desktopthemes"
for i in ${splitdirs} ; do
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
make DESTDIR=${pkgdir} install
done
# use transparent panel svg's everywhere
# FIXME Elegance Silicon Clean-Blend Aya heron
for n in slim-glow; do
echo "Debug: We are in theme $n"
cp -fv ${pkgdir}/usr/share/apps/desktoptheme/$n/widgets/panel-background.svgz ${pkgdir}/usr/share/apps/desktoptheme/$n/opaque/widgets/panel-background.svgz
done
}
package_kdeartwork-emoticons() {
pkgdesc="KDE Artwork - Additional Emoticons"
depends=("kde-workspace>=${_workspace_ver}")
groups=("${pkgbase}" "kde" "kde-uninstall")
conflicts=("kdeartwork-common")
splitdirs="emoticons"
for i in ${splitdirs} ; do
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
make DESTDIR=${pkgdir} install
done
}
package_kdeartwork-iconthemes() {
pkgdesc="KDE Artwork - Additional Icon Themes"
depends=("kde-workspace>=${_workspace_ver}")
groups=("${pkgbase}" "kde" "kde-uninstall")
conflicts=("kdeartwork-common")
splitdirs="IconThemes"
for i in ${splitdirs} ; do
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
make DESTDIR=${pkgdir} install
done
}
package_kdeartwork-screensavers() {
pkgdesc="KDE Artwork - Screen Savers"
depends=("kde-workspace>=${_workspace_ver}" "eigen")
groups=("${pkgbase}" "kde" "kde-uninstall")
conflicts=("kdeartwork-common")
optdepends=('xscreensaver: More screensavers')
splitdirs="kscreensaver"
for i in ${splitdirs} ; do
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
make DESTDIR=${pkgdir} install
done
pushd $srcdir/xscreensaver
mkdir -p ${pkgdir}/usr/share/kde4/services/ScreenSavers
cp -f *.desktop ${pkgdir}/usr/share/kde4/services/ScreenSavers
popd
}
package_kdeartwork-kwinstyles() {
pkgdesc="KDE Artwork - Window Decoration Styles for KWin"
depends=("kde-workspace>=${_workspace_ver}")
groups=("${pkgbase}" "kde" "kde-uninstall")
conflicts=("kdeartwork-common")
splitdirs="kwin-styles"
for i in ${splitdirs} ; do
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
make DESTDIR=${pkgdir} install
done
}
package_kdeartwork-styles() {
pkgdesc="KDE Artwork - Additional Widget Styles"
depends=("kde-workspace>=${_workspace_ver}")
groups=("${pkgbase}" "kde" "kde-uninstall")
conflicts=("kdeartwork-common")
splitdirs="styles"
for i in ${splitdirs} ; do
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
make DESTDIR=${pkgdir} install
done
}
package_kdeartwork-wallpapers() {
pkgdesc="KDE Artwork - Additional Wallpapers"
depends=("kde-workspace>=${_workspace_ver}")
groups=("${pkgbase}" "kde" "kde-uninstall")
conflicts=("kdeartwork-common")
splitdirs="wallpapers"
for i in ${splitdirs} ; do
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
make DESTDIR=${pkgdir} install
done
}
package_kdeartwork-weatherwallpapers() {
pkgdesc="KDE Artwork - Additional Wallpapers for the Plasma weather plugin"
depends=("kde-workspace>=${_workspace_ver}")
groups=("${pkgbase}" "kde" "kde-uninstall")
conflicts=("kdeartwork-common")
splitdirs="WeatherWallpapers"
for i in ${splitdirs} ; do
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
make DESTDIR=${pkgdir} install
done
}