pmount: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-02 06:39:41 +07:00
parent f0196f98a1
commit b645a33514

View file

@ -1,18 +1,19 @@
# Template file for 'pmount'
pkgname=pmount
version=0.9.23
revision=6
conf_files="/etc/pmount.allow"
revision=7
build_style=gnu-configure
short_desc="Permits normal users to mount removable devices"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2"
hostmakedepends="intltool"
makedepends="libblkid-devel"
short_desc="Permits normal users to mount removable devices"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-only"
homepage="http://pmount.alioth.debian.org/"
distfiles="${DEBIAN_SITE}/main/p/${pkgname}/${pkgname}_${version}.orig.tar.bz2"
checksum=db38fc290b710e8e9e9d442da2fb627d41e13b3ee80326c15cc2595ba00ea036
conf_files="/etc/pmount.allow"
pre_configure() {
sed -i -e 's/-o root -g root //' src/Makefile.in
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
vsed -i -e 's/-o root -g root //' src/Makefile.in
}