updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / oxygen-cursors-extra / PKGBUILD
blob8d451494a6342bbf4bda288353a992b78c13fc49
1 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
3 pkgname=oxygen-cursors-extra
4 basename=kde-workspace
5 pkgver=4.7.4
6 pkgrel=1
7 pkgdesc="KDE's Oxygen mouse cursor theme - the extra flavours"
8 arch=("any")
9 url="http://www.kde.org"
10 license=("GPL3")
11 makedepends=('pkgconfig' 'cmake' 'automoc4' 'inkscape' 'libltdl' 'xorg-xcursorgen')
12 #optdepends=("kdebase-workspace: contains the default cursor colours")
13 options=(!emptydirs)
14 source=("http://download.kde.org/stable/${pkgver}/src/${basename}-${pkgver}.tar.bz2")
16 # Cursor size
17 cursorsize=""
18 #cursorsize="-big"
20 # Theme list
21 themelist="bluecurve brown cherry chrome desert emerald green grey honeycomb hot_orange lilac midnight_meadow navy norway obsidian obsidian-hc olympus olympus-inv orchid oxygen peach purple red red-argentina sea_blue steel terra terra_green violet viorange whitewater wonton"
22 #themelist="${themelist} black blue white yellow zion"
24 build() {
25         cd "${srcdir}"/${basename}-${pkgver}/cursors/src
27         cmake .
29         for theme in ${themelist}; do
30                 make theme-${theme}${cursorsize}
31         done
34 package() {
35         cd "${srcdir}"/${basename}-${pkgver}/cursors/src
37         # Directories
38         install -d "${pkgdir}"/usr/share/icons/
40         # Files
41         for theme in ${themelist}; do
42                 cp -r --parents "oxy-${theme}${cursorsize}/cursors" "${pkgdir}"/usr/share/icons/
43                 cp "theme-${theme}/index.theme" "${pkgdir}"/usr/share/icons/oxy-${theme}${cursorsize}/
44         done
47 sha1sums=('b7810ba13f6f2a1c4783b153ad9349a1dd27b495')