void-packages/srcpkgs/xorgproto/template

56 lines
2.4 KiB
Bash
Raw Normal View History

2018-02-21 18:20:54 +01:00
# Template file for 'xorgproto'
pkgname=xorgproto
version=2018.4
revision=2
build_style=gnu-configure
configure_args="--enable-legacy"
2018-02-21 18:20:54 +01:00
hostmakedepends="xorg-util-macros"
short_desc="Combined X.Org X11 Protocol headers"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://xorg.freedesktop.org"
distfiles="${XORG_SITE}/proto/xorgproto-${version}.tar.gz"
checksum=8e48d851efea0e951bcb6cf0d537f84ba3803de95e488bd039fe59fc75ec8f7d
replaces="bigreqsproto>=0 compositeproto>=0 damageproto>=0 dmxproto>=0 dri2proto>=0
dri3proto>=0 fixesproto>=0 fontsproto>=0 glproto>=0 inputproto>=0 kbproto>=0 presentproto>=0
printproto>=0 randrproto>=0 recordproto>=0 renderproto>=0 resourceproto>=0 scrnsaverproto>=0
videoproto>=0 xcmiscproto>=0 xextproto>=0 xf86dgaproto>=0 xf86driproto>=0 xf86miscproto>=0
xf86vidmodeproto>=0 xineramaproto>=0 xproto>=0 xf86bigfontproto>=0 fontcacheproto>=0"
provides="bigreqsproto-${version}_${revision} compositeproto-${version}_${revision}
damageproto-${version}_${revision} dmxproto-${version}_${revision}
dri2proto-${version}_${revision} dri3proto-${version}_${revision}
fixesproto-${version}_${revision} fontsproto-${version}_${revision}
glproto-${version}_${revision} inputproto-${version}_${revision}
kbproto-${version}_${revision} presentproto-${version}_${revision}
printproto-${version}_${revision} randrproto-${version}_${revision}
recordproto-${version}_${revision} renderproto-${version}_${revision}
resourceproto-${version}_${revision} scrnsaverproto-${version}_${revision}
videoproto-${version}_${revision} xcmiscproto-${version}_${revision}
xextproto-${version}_${revision} xf86dgaproto-${version}_${revision}
xf86driproto-${version}_${revision} xf86miscproto-${version}_${revision}
xf86vidmodeproto-${version}_${revision} xineramaproto-${version}_${revision}
xproto-${version}_${revision} xf86bigfontproto-${version}_${revision}
fontcacheproto-${version}_${revision}"
post_configure() {
# man/Xprint.7 is can't be generated thus remove the rule
sed -i Makefile -e "s;\(miscman_DATA =\).*;\1;"
}
2018-02-21 18:20:54 +01:00
post_install() {
for license in COPYING-* ; do
vlicense $license
done
for doc in *.txt ; do
vdoc $doc
done
vdoc PM_spec
rm -f "${DESTDIR}"/usr/share/doc/"${pkgname}"/meson_options.txt
rm -f "${DESTDIR}"/usr/include/X11/extensions/{apple,windows}*
rm -f "${DESTDIR}"/usr/share/licenses/"${pkgname}"/COPYING-{apple,windows}wmproto
rm -f "${DESTDIR}"/usr/share/pkgconfig/{apple,windows}wmproto.pc
}