void-packages/srcpkgs/libcroco/template

27 lines
784 B
Bash

# Template build file for 'libcroco'.
pkgname=libcroco
version=0.6.9
revision=1
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"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=38b9a6aed1813e55b3ca07a68d1af845ad4d1f984602e9272fe692930c0be0ae
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"
}
}