PKGBUILDs/community/xcursor-polar/PKGBUILD

31 lines
1.4 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: Dario Andres Rodriguez
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
pkgname=xcursor-polar
pkgver=1.4
pkgrel=6
pkgdesc="Polar XCursor Theme"
arch=('i686' 'x86_64')
url="http://www.kde-look.org/content/show.php?content=27913"
license=("GPL")
source=(http://www.kde-look.org/CONTENT/content-files/27913-PolarCursorThemes.tar.bz2)
md5sums=('886068e0feadd2a07c8b206b211548ec')
build() {
mkdir -p $startdir/pkg/usr/share/icons/{Polar,Polar-Green,Polar-Blue}
cp -R $startdir/src/PolarCursorTheme/cursors $startdir/pkg/usr/share/icons/Polar
sed s/PolarCursorTheme/Polar/ -i $startdir/src/PolarCursorTheme/index.theme
install -Dm644 $startdir/src/PolarCursorTheme/index.theme $startdir/pkg/usr/share/icons/Polar/index.theme
cp -R $startdir/src/PolarCursorTheme-Green/cursors $startdir/pkg/usr/share/icons/Polar-Green
sed s/PolarCursorTheme/Polar/ -i $startdir/src/PolarCursorTheme-Green/index.theme
install -Dm644 $startdir/src/PolarCursorTheme-Green/index.theme $startdir/pkg/usr/share/icons/Polar-Green/index.theme
cp -R $startdir/src/PolarCursorTheme-Blue/cursors $startdir/pkg/usr/share/icons/Polar-Blue
sed s/PolarCursorTheme/Polar/ -i $startdir/src/PolarCursorTheme-Blue/index.theme
install -Dm644 $startdir/src/PolarCursorTheme-Blue/index.theme $startdir/pkg/usr/share/icons/Polar-Blue/index.theme
}