void-packages/srcpkgs/glabels/template

35 lines
916 B
Bash

# Template file for 'glabels'
pkgname=glabels
version=3.4.0
revision=1
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/${version%.*}/glabels-${version}.tar.xz"
checksum=d40e079395d30adbcd8204f41d08f7a8da9ec130bffa4cb3c130fbe2322b6410
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
}
}