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

# source: step
TARBALL=autocutsel-$PKGVER.tar.gz
MD5SUM=4e891b51745891d3367f085ff84610de
SRC_URL=https://github.com/sigmike/autocutsel/releases/download/0.10.1/autocutsel-0.10.1.tar.gz
BUNDLE=

SLACKREC=''
SLACKDESC="autocutsel: autocutsel $PKGVER (clipboard syncronization daemon)
autocutsel:
autocutsel: Automated xcutsel - Autocutsel tracks changes in the server's cutbuffer and
autocutsel: CLIPBOARD selection. When the CLIPBOARD is changed, it updates the cutbuffer.
autocutsel: When the cutbuffer is changed, it owns the CLIPBOARD selection. The cutbuffer
autocutsel: and CLIPBOARD selection are always synchronized.
autocutsel:
autocutsel: License: GNU GPLv2 or later
autocutsel:
autocutsel: http://www.nongnu.org/autocutsel/
autocutsel:
"

### default pkg_download
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/autocutsel-* &&
	patch -Np1 -i ../pkg/specify_character_encoding-eee3aab.patch
}
### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf &&
	install -Dm0644 -t /usr/share/man/man1 ../pkg/autocutsel.1 &&
	install -Dm0644 -t /usr/share/man/man1 ../pkg/cutsel.1 &&
	pkg_build_slackdesc
}

