### this file is sourced not run
# source: step

repo=pointerpointer
pkgname=${repo} # for SLACKDESC

# Uncomment either section [1] master commit or [2] official release below.

# [1] Branch for-pointerpointer interim commits

hash=
MD5SUM=
hash7=${hash#???????}; hash7=${hash%$hash7}
# same as    \v/  the patch_level that is set in file patch-list
PKGVER=$PKGVER_pp1   # _${hash7}
#            /^\

TARBALL=$pkgname-$hash.tar.gz
SRC_URL=https://github.com/step-/$repo/archive/$hash.tar.gz

# [2] Official release in author's repo

MD5SUM=0978170e6457a404a60fa4c100b0c322
PKGVER=1.0.0

# TARBALL=$pkgname-$PKGVER.tar.gz
SRC_URL=https://github.com/step-/$pkgname/archive/$PKGVER.tar.gz

PKGARCH=noarch
PKGBUILD=3
BUNDLE=

SLACKREQ='yad_gtk2 >= 0.42.0_12-x86_64-1
find-cursor'
SLACKDESC="$pkgname: $pkgname $PKGVER $hash7 (mouse pointer add-on)
$pkgname: 
$pkgname: Pointerpointer is a shell script that finds and tracks the mouse pointer
$pkgname: on the screen.
$pkgname: 
$pkgname: License: MIT
$pkgname: 
$pkgname: 
$pkgname: https://github.com/step-/pointerpointer
$pkgname: 
$pkgname: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package

### build
pkg_build() {
	cd /tmp/$repo-* || return 1
	install -Dm755 -t /usr/bin pointerpointer.sh &&
	install -Dm644 -t /usr/share/doc/pointerpointer pointerpointer.pot &&

	install -Dm644 -t /usr/share/icons/hicolor/scalable/apps ../pkg/pointerpointer.svg &&
	install -Dm644 -t /usr/share/applications ../pkg/pointerpointer.desktop &&
		pkg_build_slackdesc
}

# vim:ft=sh:
