updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / xcursor-polar / PKGBUILD
blobbf65287cb462dc6c6fe7f94f7442be79e6e79074
1 # $Id: PKGBUILD 55476 2011-09-13 01:33:41Z ebelanger $
2 # Contributor: Dario Andres Rodriguez
3 # Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
4 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
6 pkgname=xcursor-polar
7 pkgver=1.4
8 pkgrel=8
9 pkgdesc="Polar XCursor Theme"
10 arch=('any')
11 url="http://www.kde-look.org/content/show.php?content=27913"
12 license=('GPL')
13 source=(http://www.kde-look.org/CONTENT/content-files/27913-PolarCursorThemes.tar.bz2)
14 md5sums=('886068e0feadd2a07c8b206b211548ec')
16 package() {
17         mkdir -p "${pkgdir}"/usr/share/icons/{Polar,Polar-Green,Polar-Blue}
19         cp -R "${srcdir}"/PolarCursorTheme/cursors "${pkgdir}"/usr/share/icons/Polar
20         sed s/PolarCursorTheme/Polar/ -i "${srcdir}"/PolarCursorTheme/index.theme
21         install -Dm644 "${srcdir}"/PolarCursorTheme/index.theme \
22                 "${pkgdir}"/usr/share/icons/Polar/index.theme
24         cp -R "${srcdir}"/PolarCursorTheme-Green/cursors \
25                 "${pkgdir}"/usr/share/icons/Polar-Green
26         sed s/PolarCursorTheme/Polar/ -i "${srcdir}"/PolarCursorTheme-Green/index.theme
27         install -Dm644 "${srcdir}"/PolarCursorTheme-Green/index.theme \
28                 "${pkgdir}"/usr/share/icons/Polar-Green/index.theme
30         cp -R "${srcdir}"/PolarCursorTheme-Blue/cursors \
31                 "${pkgdir}"/usr/share/icons/Polar-Blue
32         sed s/PolarCursorTheme/Polar/ -i "${srcdir}"/PolarCursorTheme-Blue/index.theme
33         install -Dm644 "${srcdir}"/PolarCursorTheme-Blue/index.theme \
34                 "${pkgdir}"/usr/share/icons/Polar-Blue/index.theme