void-packages/srcpkgs/libXpresent/template

27 lines
841 B
Bash
Raw Normal View History

2018-04-12 20:06:40 +02:00
# Template file for 'libXpresent'
pkgname=libXpresent
version=1.0.0
2018-08-23 04:18:56 +02:00
revision=2
2018-04-12 20:06:40 +02:00
build_style=gnu-configure
hostmakedepends="pkg-config xorg-util-macros"
makedepends="libXfixes-devel libXrandr-devel"
short_desc="XPresent extension C library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="X11"
homepage="https://cgit.freedesktop.org/xorg/lib/libXpresent/"
distfiles="${XORG_SITE}/lib/libXpresent-${version}.tar.gz"
checksum=92f1bdfb67ae2ffcdb25ad72c02cac5e4912dc9bc792858240df1d7f105946fa
libXpresent-devel_package() {
2018-08-23 04:18:56 +02:00
depends="${sourcepkg}-${version}_${revision} libX11-devel libXext-devel
libXfixes-devel libXrandr-devel presentproto xorgproto xproto"
2018-04-12 20:06:40 +02:00
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"
}
}