aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2024-02-05 19:07:36 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-10 16:17:29 +0700
commitb5c33f202eec45004ca9772d611a7a454cfd6595 (patch)
tree8dfa97aa850a7b722d679995f6e2726b61c501da
parenta8130697956f30917cdeff82f865d686727c0708 (diff)
libraries/SFML: Fix pkgconfig and doc files install locations.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/SFML/SFML.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/SFML/SFML.SlackBuild b/libraries/SFML/SFML.SlackBuild
index 8d07f848b00a..e993c1fb0a8b 100644
--- a/libraries/SFML/SFML.SlackBuild
+++ b/libraries/SFML/SFML.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SFML
VERSION=${VERSION:-2.6.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -88,6 +88,8 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DSFML_INSTALL_PKGCONFIG_FILES=1 \
+ -DSFML_PKGCONFIG_INSTALL_PREFIX=/usr/lib$LIBDIRSUFFIX/pkgconfig \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG