#### this file is sourced not run

PKGVER=2024.11.13 # commit date
PKGBUILD=1
PKGARCH=x86_64

# source: step
hash=9ac39663feb4736632c2adc6035690518c380242
hash7=${hash#???????}; hash7=${hash%$hash7}

TARBALL=clipscreen-$PKGVER-$hash7.tar.gz
SRC_URL=https://github.com/splitbrain/clipscreen/archive/${hash}.tar.gz
MD5SUM=5120a2d0378363eb115aff3509608747
BUNDLE=

SLACKREQ='cairo'
SLACKDESC="clipscreen: clipscreen $PKGVER (X11 screen mirror)
clipscreen:
clipscreen: Mirror a rectangle of your screen to a virtual monitor for easier screen
clipscreen: sharing. Why is this useful? You can use any screen sharing tool to share the
clipscreen: virtual monitor instead of your entire screen. Just move any window you want
clipscreen: to share into the selection rectangle.
clipscreen:
clipscreen: https://github.com/splitbrain/clipscreen
clipscreen:
clipscreen:
clipscreen:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/clipscreen-* &&

	make &&
	install -Dm755 clipscreen /usr/bin/clipscreen &&
	pkg_build_slackdesc
}
