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

21 lines
703 B
Bash

# Template file for 'xdg-user-dirs-gtk'
pkgname=xdg-user-dirs-gtk
version=0.10
revision=4
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=739a1a89baf34aa7261e924a21d2ae646b0475b67b3db3daa84327a99132d83e
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' \
-e 's,localedir=.*eval echo.*,localedir=/usr/share/locale,' \
configure
}