void-packages/srcpkgs/libXtst/template

30 lines
711 B
Bash

# Template build file for 'libXtst'.
pkgname=libXtst
version=1.2.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel libXi-devel"
short_desc="X Tst Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.xz"
checksum=84f5f30b9254b4ffee14b5b0940e2622153b0d3aed8286a3c5b7eeb340ca33c8
post_install() {
vlicense COPYING
}
libXtst-devel_package() {
depends="${makedepends} libXtst>=${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
}
}