void-packages/srcpkgs/libXfixes/template

30 lines
755 B
Bash

# Template build file for 'libXfixes'.
pkgname=libXfixes
version=5.0.3
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel"
short_desc="Xfixes library and extension of X RandR from modular X.org"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="${XORG_SITE}"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=de1cd33aff226e08cefd0e6759341c2c8e8c9faf8ce9ac6ec38d43e287b22ad6
post_install() {
vlicense COPYING
}
libXfixes-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"
vmove usr/share
}
}