# Template file for 'jupp'
pkgname=jupp
version=3.1jupp26
revision=1
build_style=gnu-configure
configure_args="--disable-dependency-tracking --disable-termidx"
makedepends="ncurses-devel"
wrksrc="jupp"
conf_files="
	/etc/joe/joerc
	/etc/joe/rjoerc
	/etc/joe/jpicorc
	/etc/joe/jmacsrc
	/etc/joe/jstarrc
	/etc/joe/jupprc"
short_desc="Portable version of JOE’s Own Editor"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL-1"
homepage="https://www.mirbsd.org/jupp.htm"
distfiles="https://www.mirbsd.org/MirOS/dist/${pkgname}/joe-${version}.tgz"
checksum=99985d6f0db5cc59ba45b30291ce6c3ef9626637f0cca039b2e03484cf5dda42

pre_configure() {
	chmod +x configure
}

post_install() {
	vinstall COPYING 644 usr/share/licenses/${pkgname}/LICENSE
	vinstall INFO 644 usr/share/doc/${pkgname}
	vinstall LIST 644 usr/share/doc/${pkgname}
	vinstall NEWS 644 usr/share/doc/${pkgname}
}
