SFML: disable examples

This would otherwise fail with ELF in /usr/share.
This commit is contained in:
q66 2019-01-27 03:18:32 +01:00 committed by maxice8
parent 5f9a5ebab4
commit 05dd78fb5c

View file

@ -1,8 +1,9 @@
# Template file for 'SFML'
pkgname=SFML
version=2.5.1
revision=1
revision=2
build_style=cmake
configure_args="-DSFML_BUILD_EXAMPLES=0 -DSFML_BUILD_DOC=1 -DSFML_INSTALL_PKGCONFIG_FILES=1"
hostmakedepends="doxygen"
makedepends="libsndfile-devel libXrandr-devel libjpeg-turbo-devel
libopenal-devel glew-devel freetype-devel MesaLib-devel glu-devel
@ -13,7 +14,6 @@ license="Zlib"
homepage="http://www.sfml-dev.org/"
distfiles="https://github.com/LaurentGomila/${pkgname}/archive/${version}.tar.gz"
checksum=438c91a917cc8aa19e82c6f59f8714da353c488584a007d401efac8368e1c785
configure_args="-DSFML_BUILD_EXAMPLES=1 -DSFML_BUILD_DOC=1 -DSFML_INSTALL_PKGCONFIG_FILES=1"
post_install() {
rm -f ${DESTDIR}/usr/sfml-*.pc