### this file is sourced not run
PKGVER=0.9.10.2023.04 # pull time
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=vncterm-$PKGVER.tar.gz
MD5SUM=4dc54df45e7bad512a93b1a9a8763d0d
SRC_URL=https://github.com/LibVNC/vncterm/archive/cc1c56ec67a4c5787c55ff48224f078dedaa21c5.tar.gz
BUNDLE=

SLACKREQ='libvncserver' # 
SLACKDESC="linuxvnc: linuxvnc $PKGVER (VNC server for Linux consoles)  
linuxvnc:  
linuxvnc: vncterm is a VNC server for Linux console. It works just like x11vnc 
linuxvnc: but insted of X11 session, it serves Linux console. It does not 
linuxvnc: support X11 terminal emulators like xterm, urxvt (for those, use 
linuxvnc: x11vnc), but the real Linux virtual consoles (tty1, tty2, etc).  
linuxvnc: 
linuxvnc: https://github.com/LibVNC/vncterm
linuxvnc: 
linuxvnc: 
linuxvnc: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/vncterm*
	autoreconf -fiv
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	cp vncommand /usr/local/bin # vncommand is alpha-quality
}
