diff --git a/srcpkgs/pcmanx-gtk2/template b/srcpkgs/pcmanx-gtk2/template index 18951baf76c..68269d5fea0 100644 --- a/srcpkgs/pcmanx-gtk2/template +++ b/srcpkgs/pcmanx-gtk2/template @@ -1,16 +1,16 @@ # Template file for 'pcmanx-gtk2' pkgname=pcmanx-gtk2 version=1.3 -revision=1 +revision=2 build_style=gnu-configure -configure_args="--enable-iplookup --enable-proxy +configure_args="--with-locales-dir=/usr/share/locale --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 " -license="GPL-2" +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 @@ -20,6 +20,10 @@ 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