void-packages/srcpkgs/libXrender/template

30 lines
744 B
Bash

# Template build file for 'libXrender'.
pkgname=libXrender
version=0.9.11
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel"
short_desc="X Render Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.xz"
checksum=bc53759a3a83d1ff702fb59641b3d2f7c56e05051fa0cfa93501166fa782dc24
post_install() {
vlicense COPYING
}
libXrender-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}