### this file is sourced not run
PKGVER=0.1
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=13656-blueglass_xcursor_theme.tar.bz2
MD5SUM=21205ae28a3804df2f698a35c1642195
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

CURSOR_PATH=/usr/share/icons
CURSOR_NAME=blueglass

SLACKREQ=
SLACKDESC="cursor-$CURSOR_NAME: cursor-$CURSOR_NAME $PKGVER (Cursor theme)
cursor-$CURSOR_NAME: 
cursor-$CURSOR_NAME: $CURSOR_NAME is a direct copy of the redglass theme
cursor-$CURSOR_NAME: from XFree86 4.3 and Xorg 6.7 (which you can find in
cursor-$CURSOR_NAME: xcursor-themes package).
cursor-$CURSOR_NAME: 
cursor-$CURSOR_NAME: The only change is the colour: this set if blue.
cursor-$CURSOR_NAME: Almost every cursor is translucent, with animations.
cursor-$CURSOR_NAME: 
cursor-$CURSOR_NAME: https://www.gnome-look.org/p/999294/
cursor-$CURSOR_NAME:
"

### standard pkg_download
### standard pkg_prepare
### standard pkg_package

pkg_build() {
	cd /tmp &&
	cp -r blueglass /usr/share/icons &&
	cd /usr/share/icons &&
	find . -maxdepth 1 -type d -name 'blueglass*' | while read -r p; do
		(
			# fix missing symlinks
			cd $p/cursors &&
			bash /tmp/pkg/fix_cursor_theme.sh &&

			# remove missing symlinks
			find . -xtype l -delete || return 1
		) || return 1
	done &&
	pkg_build_slackdesc
}
