# Tanım: VNC istemcisi
# URL: http://tigervnc.org
# Paketçi: milisarge
# Gerekler: cmake fltk1 gegl libjpeg-turbo xorg-libxtst xorg-libxfont xorg-xauth xorg-xkbcomp xorg-libpixman libgcrypt xorg-libxdamage gnutls
# Grup: ağ

isim=tigervnc
surum=1.6.0
devir=2
kaynak=(https://github.com/TigerVNC/$isim/archive/v$surum.tar.gz)

derle() {
	mv $DERLEME_KAYNAKDIZIN/v$surum.tar.gz $DERLEME_KAYNAKDIZIN/$isim-$surum.tar.gz
	mkdir build
	cd build

	cmake -G "Unix Makefiles" \
		-DCMAKE_INSTALL_PREFIX=/usr \
		../$isim-$surum
	make
	make DESTDIR=$PKG install

	rm -rf $PKG/usr/share/doc
}