leafpad: fix l10n dir
This commit is contained in:
parent
e6930b656f
commit
2992f6cd94
1 changed files with 8 additions and 2 deletions
|
@ -1,15 +1,21 @@
|
||||||
# Template file for 'leafpad'
|
# Template file for 'leafpad'
|
||||||
pkgname=leafpad
|
pkgname=leafpad
|
||||||
version=0.8.18.1
|
version=0.8.18.1
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--with-locales-dir=/usr/share/locale"
|
||||||
hostmakedepends="intltool pkg-config"
|
hostmakedepends="intltool pkg-config"
|
||||||
makedepends="gettext-devel gtk+-devel desktop-file-utils hicolor-icon-theme"
|
makedepends="gettext-devel gtk+-devel desktop-file-utils hicolor-icon-theme"
|
||||||
depends="desktop-file-utils hicolor-icon-theme"
|
depends="desktop-file-utils hicolor-icon-theme"
|
||||||
short_desc="GTK+ Simple text editor"
|
short_desc="GTK+ Simple text editor"
|
||||||
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
maintainer="Carlo Dormeletti <carlo.dormeletti@alice.it>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://tarot.freeshell.org/leafpad/"
|
homepage="http://tarot.freeshell.org/leafpad/"
|
||||||
distfiles="http://download-mirror.savannah.gnu.org/releases/leafpad/leafpad-${version}.tar.gz"
|
distfiles="http://download-mirror.savannah.gnu.org/releases/leafpad/leafpad-${version}.tar.gz"
|
||||||
checksum=959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c
|
checksum=959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' \
|
||||||
|
-e 's,localedir=.*eval echo.*,localedir=/usr/share/locale,' \
|
||||||
|
configure
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue