void-packages/srcpkgs/glabels/template

32 lines
896 B
Bash

# Template file for 'glabels'
pkgname=glabels
version=3.4.1
revision=1
wrksrc="glabels-${version}"
build_style=gnu-configure
hostmakedepends="glib-devel intltool itstool pkg-config"
makedepends="gtk+3-devel librsvg-devel qrencode-devel"
short_desc="A program for creating labels and business cards"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://glabels.org/"
distfiles="${GNOME_SITE}/glabels/${version%.*}/glabels-${version}.tar.xz"
checksum=18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938
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
}
}