libgnomecanvas: fix l10n dir
This commit is contained in:
parent
09fe43a2b0
commit
31065b22e2
1 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libgnomecanvas'
|
||||
pkgname=libgnomecanvas
|
||||
version=2.30.3
|
||||
revision=9
|
||||
revision=10
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
hostmakedepends="pkg-config intltool glib-devel"
|
||||
|
@ -10,9 +10,15 @@ short_desc="GNOME Canvas library"
|
|||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-2.0-or-later"
|
||||
homepage="http://gnome.org/"
|
||||
distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2"
|
||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
|
||||
checksum=859b78e08489fce4d5c15c676fec1cd79782f115f516e8ad8bed6abcb8dedd40
|
||||
|
||||
post_patch() {
|
||||
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' \
|
||||
-e 's,localedir=.*eval echo.*,localedir=/usr/share/locale,' \
|
||||
configure
|
||||
}
|
||||
|
||||
libgnomecanvas-devel_package() {
|
||||
depends="gtk+-devel libart-devel ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" -- development files"
|
||||
|
|
Loading…
Reference in a new issue