void-packages/srcpkgs/libcroco/template
2019-04-07 04:54:15 -03:00

26 lines
792 B
Bash

# Template file for 'libcroco'
pkgname=libcroco
version=0.6.13
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.org>"
license="LGPL-2.1-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4
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
}
}