pidgin-privacy-please: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-02 06:38:20 +07:00
parent fb068208fa
commit 87e92c56ce

View file

@ -1,10 +1,12 @@
# Template file for 'pidgin-privacy-please'
pkgname=pidgin-privacy-please
version=0.7.1
revision=3
revision=4
build_style=gnu-configure
makedepends="libpurple-devel pidgin-devel glib-devel"
hostmakedepends="automake intltool libtool pkg-config $makedepends"
configure_args="--with-locales-dir=/usr/share/locale"
hostmakedepends="automake intltool libtool pkg-config libpurple-devel
pidgin-devel glib-devel"
makedepends="libpurple-devel pidgin-devel libglib-devel"
depends="pidgin"
short_desc="Pidgin plugin to stop spam"
maintainer="Leah Neukirchen <leah@vuxu.org>"
@ -12,3 +14,7 @@ license="GPL-3.0-or-later"
homepage="https://packages.debian.org/sid/pidgin-privacy-please"
distfiles="${DEBIAN_SITE}/main/p/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=8134bcd5da98fe8b4c9918fd420c7e68b0990e895ed2534396cacbf473f2615c
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}