void-packages/srcpkgs/libXtst/template

29 lines
712 B
Bash

# Template build file for 'libXtst'.
pkgname=libXtst
version=1.2.3
revision=2
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.bz2"
checksum=4655498a1b8e844e3d6f21f3b2c4e2b571effb5fd83199d428a6ba7ea4bf5204
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
}
}