From b645a33514fb2228c69be008417ff0175ad654b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 2 Jan 2021 06:39:41 +0700 Subject: [PATCH] pmount: fix l10n dir --- srcpkgs/pmount/template | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/srcpkgs/pmount/template b/srcpkgs/pmount/template index b95f2690b6b..8a826f4e0fe 100644 --- a/srcpkgs/pmount/template +++ b/srcpkgs/pmount/template @@ -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 " -license="GPL-2" hostmakedepends="intltool" makedepends="libblkid-devel" +short_desc="Permits normal users to mount removable devices" +maintainer="Enno Boland " +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 }