void-packages/srcpkgs/pmount/template
Đoàn Trần Công Danh b645a33514 pmount: fix l10n dir
2021-01-12 22:33:11 +07:00

19 lines
643 B
Bash

# Template file for 'pmount'
pkgname=pmount
version=0.9.23
revision=7
build_style=gnu-configure
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"
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
vsed -i -e 's/-o root -g root //' src/Makefile.in
}