void-packages/srcpkgs/glabels/template

35 lines
906 B
Bash

# Template file for 'glabels'
pkgname=glabels
version=3.2.1
revision=2
wrksrc="glabels-${version}"
build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="pkg-config intltool itstool glib-devel"
makedepends="gtk+3-devel libxml2-devel librsvg-devel qrencode-devel"
license="GPL-3"
homepage="http://glabels.sourceforge.net/"
short_desc="A program for creating labels and business cards"
distfiles="${GNOME_SITE}/glabels/3.2/glabels-${version}.tar.xz"
checksum=db615f653b6e78ef1209814b5e6d8d3af4f8d3444a259ddbcc0dfb279c7df855
libglabels30_package() {
short_desc+=" - library files"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libglabels30-devel_package() {
depends="libglabels30>=${version}_${revision} pango-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}