void-packages/srcpkgs/libcroco/template
2018-10-03 19:08:12 -03:00

26 lines
787 B
Bash

# Template file for 'libcroco'
pkgname=libcroco
version=0.6.12
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel libxml2-devel"
short_desc="Toolkit to parse and manipulate CSS (Cascading Style Sheets)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860
libcroco-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/bin/croco-*config
}
}