### this file is sourced not run
PKGVER=0.3
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=icon-slicer-$PKGVER.tar.gz
MD5SUM=5c5374d4f265b0abe4daef1d03f87104
SRC_URL=https://freedesktop.org/software/icon-slicer/releases/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="icon-slicer: icon-slicer $PKGVER (X11 icon/cursor utility)
icon-slicer: 
icon-slicer: icon-slicer is a utility for generating icon themes and libXcursor 
icon-slicer: cursor themes.
icon-slicer: 
icon-slicer: https://freedesktop.org/wiki/Software/icon-slicer/
icon-slicer: 
icon-slicer: 
icon-slicer: 
icon-slicer: 
icon-slicer:
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/icon-slicer* &&
	patch -Np1 -i ../pkg/1001_hotspotfix.patch
}

### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf &&
	pkg_build_slackdesc &&

	# extra docs
	mkdir /usr/share/doc/icon-slicer-$PKGVER &&
	cp -r examples /usr/share/doc/icon-slicer-$PKGVER
}


