void-packages/srcpkgs/libXt/template
2019-06-26 08:15:06 +02:00

31 lines
821 B
Bash

# Template build file for 'libXt'.
pkgname=libXt
version=1.2.0
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config xorgproto"
makedepends="xorgproto libSM-devel libX11-devel"
short_desc="X Toolkit Intrinsics library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=b31df531dabed9f4611fc8980bc51d7782967e2aff44c4105251a1acb5a77831
post_install() {
vlicense COPYING
}
libXt-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man
vmove usr/share/doc
}
}