void-packages/srcpkgs/xdg-user-dirs-gtk/template

21 lines
735 B
Bash

# Template file for 'xdg-user-dirs-gtk'
pkgname=xdg-user-dirs-gtk
version=0.11
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool xdg-user-dirs"
makedepends="gtk+3-devel xdg-user-dirs"
depends="xdg-user-dirs"
short_desc="GTK+ tool to help manage user directories"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/xdg-user-dirs-gtk/${version}/xdg-user-dirs-gtk-${version}.tar.xz"
checksum=534bd563d3c0e3f8dcbf3578cb8ab0e49d3ba41c966d477c8af9438364121e7d
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' \
-e 's,localedir=.*eval echo.*,localedir=/usr/share/locale,' \
configure
}