void-packages/srcpkgs/pcmanx-gtk2/template

31 lines
986 B
Bash

# Template file for 'pcmanx-gtk2'
pkgname=pcmanx-gtk2
version=1.3
revision=2
build_style=gnu-configure
configure_args="--enable-iplookup --enable-proxy
$(vopt_enable libnotify) $(vopt_enable wget)"
hostmakedepends="pkg-config intltool gettext"
makedepends="gtk+-devel $(vopt_if libnotify libnotify-devel)"
depends="$(vopt_if wget wget)"
short_desc="Easy-to-use telnet client mainly for BBS users"
maintainer="Casper Ti. Vector <caspervector@gmail.com>"
license="GPL-2.0-only"
homepage="https://github.com/pcman-bbs/pcmanx"
distfiles="https://github.com/pcman-bbs/pcmanx/releases/download/$version/$pkgname-$version.tar.xz"
checksum=3f5d7eaf5daa7dcf3843a01e239cea312045ded03dd77b364fa1082b9356968a
build_options="libnotify wget"
desc_option_libnotify="Enable libnotify dependency"
desc_option_wget="Enable wget dependency"
build_options_default="libnotify wget"
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}
post_install() {
vdoc README
vdoc TODO
}