From 6ca87a947f14593ab9382baf28b934e5a69c3adc Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Wed, 9 May 2018 23:01:43 +0200 Subject: [PATCH] SFML: fix -devel package * move cmake files to -devel * remove duplicate pkg-config files in /usr Closes #14270. Signed-off-by: Enno Boland --- srcpkgs/SFML/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/SFML/template b/srcpkgs/SFML/template index 5cdd939702..e906df48f3 100644 --- a/srcpkgs/SFML/template +++ b/srcpkgs/SFML/template @@ -1,7 +1,7 @@ # Template file for 'SFML' pkgname=SFML version=2.5.0 -revision=2 +revision=3 build_style=cmake hostmakedepends="doxygen" makedepends="libsndfile-devel libXrandr-devel libjpeg-turbo-devel @@ -9,12 +9,16 @@ makedepends="libsndfile-devel libXrandr-devel libjpeg-turbo-devel xcb-util-image-devel" short_desc="Simple and Fast Multimedia Library" maintainer="Andrea Brancaleoni " -license="zlib" +license="Zlib" homepage="http://www.sfml-dev.org/" distfiles="https://github.com/LaurentGomila/${pkgname}/archive/${version}.tar.gz" checksum=4bc5ed0b6658f73a31bfb8b36878d71fe1678e6e95e4f20834ab589a1bdc7ef4 configure_args="-DSFML_BUILD_EXAMPLES=1 -DSFML_BUILD_DOC=1 -DSFML_INSTALL_PKGCONFIG_FILES=1" +post_install() { + rm -f ${DESTDIR}/usr/sfml-*.pc +} + SFML-devel_package() { depends="SFML>=${version}_${revision} libopenal-devel libsndfile-devel freetype-devel" @@ -23,6 +27,7 @@ SFML-devel_package() { vmove usr/include vmove usr/lib/pkgconfig vmove usr/share/SFML + vmove usr/lib/cmake vmove "usr/lib/*.so" } }