pcmanx-gtk2: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-02 06:33:19 +07:00
parent 7867a7fb11
commit 7ff4bc866b

View file

@ -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 <caspervector@gmail.com>"
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