void-packages/srcpkgs/dia/template

18 lines
607 B
Bash

# Template file for 'dia'
pkgname=dia
version=0.97.3
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="gtk+-devel libxml2-devel freetype-devel libpng-devel
libart-devel libxslt-devel"
short_desc="GTK+ based diagram creation program"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Dia"
distfiles="${GNOME_SITE}/dia/${version%.*}/dia-${version}.tar.xz"
checksum=22914e48ef48f894bb5143c5efc3d01ab96e0a0cde80de11058d3b4301377d34
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}