void-packages/srcpkgs/libXpresent/template

27 lines
818 B
Bash

# Template file for 'libXpresent'
pkgname=libXpresent
version=1.0.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config xorg-util-macros"
makedepends="libXfixes-devel libXrandr-devel"
short_desc="XPresent extension C library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="X11"
homepage="https://cgit.freedesktop.org/xorg/lib/libXpresent/"
distfiles="${XORG_SITE}/lib/libXpresent-${version}.tar.gz"
checksum=8ebf8567a8f6afe5a64275a2ecfd4c84e957970c27299d964350f60be9f3541d
libXpresent-devel_package() {
depends="${sourcepkg}-${version}_${revision} libX11-devel libXext-devel
libXfixes-devel libXrandr-devel xorgproto"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}