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

### dummy template: this package was prepared elsewhere, not built here.
TARBALL=88321-CG.tar.gz
MD5SUM=ce4a097c2e9d47d0f1529719effd89c0
SRC_URL=https://dl.opendesktop.org/api/files/downloadfile/id/1460735379/s/a0f73e121e1492fbdef16ee8b1258329/t/1514430243/$TARBALL
BUNDLE=

CURSOR_PATH=/usr/share/icons
CURSOR_NAME=chrome-glass

SLACKREQ=
SLACKDESC="cursor-$CURSOR_NAME: cursor-$CURSOR_NAME PKGVER (Cursor theme)
cursor-$CURSOR_NAME: 
cursor-$CURSOR_NAME: $CURSOR_NAME - original work of RPGFX 
cursor-$CURSOR_NAME: 
cursor-$CURSOR_NAME: https://www.gnome-look.org/p/999975/
cursor-$CURSOR_NAME: 
cursor-$CURSOR_NAME: Note: Missing COPY ALIAS O_HAND
cursor-$CURSOR_NAME: 
cursor-$CURSOR_NAME: 
cursor-$CURSOR_NAME: 
cursor-$CURSOR_NAME:
"

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

pkg_build() {
	cd /tmp &&
	sed -i -e 's/Name=.*/Name=Chrome Glass/' CG/index.theme &&
	cd CG/cursors && bash /tmp/pkg/fix_cursor_theme.sh && cd /tmp &&
	mv CG chromeglass &&
	cp -r chromeglass /usr/share/icons &&
	pkg_build_slackdesc
}
