gconf-editor: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-01 19:57:00 +07:00
parent fc8058fab7
commit 83d3afb8e8
1 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'gconf-editor'
pkgname=gconf-editor
version=3.0.1
revision=2
revision=3
build_style=gnu-configure
configure_args="--disable-schemas-install --disable-scrollkeeper
--with-locales-dir=/usr/share/locale
--with-gconf-schema-file-dir=/usr/share/gconf/schemas"
hostmakedepends="pkg-config intltool itstool gnome-doc-utils GConf-devel which"
makedepends="libxml2-devel gtk+3-devel gsettings-desktop-schemas-devel
@ -11,11 +12,15 @@ makedepends="libxml2-devel gtk+3-devel gsettings-desktop-schemas-devel
depends="gsettings-desktop-schemas>=3.10 hicolor-icon-theme desktop-file-utils"
short_desc="Graphical editor to maintain the Gnome registry"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=3064e84967b4b4216f5c7e065cfec8c52019438a590e9ed81366af2770660944
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}
post_install() {
mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${pkgname}.schemas \