void-packages/srcpkgs/libXtst/template

26 lines
686 B
Bash

# Template build file for 'libXtst'.
pkgname=libXtst
version=1.2.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="recordproto inputproto libXext-devel libXi-devel"
short_desc="X Tst Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=4655498a1b8e844e3d6f21f3b2c4e2b571effb5fd83199d428a6ba7ea4bf5204
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
}
}