aboutsummaryrefslogtreecommitdiff
path: root/graphics/lilypond/lilypond.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/lilypond/lilypond.SlackBuild')
-rw-r--r--graphics/lilypond/lilypond.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/graphics/lilypond/lilypond.SlackBuild b/graphics/lilypond/lilypond.SlackBuild
index daf7d62d6d65..dd233036cb71 100644
--- a/graphics/lilypond/lilypond.SlackBuild
+++ b/graphics/lilypond/lilypond.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lilypond
-# Copyright 2012-2021 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2012-2022 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lilypond
-VERSION=${VERSION:-2.22.1}
+VERSION=${VERSION:-2.22.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -87,12 +84,12 @@ sed -i '/^vimdir/s|=.*|= $(datadir)/vim/vimfiles|' config.make.in
# `cd /etc/fonts/conf.d && ln -s ../conf.avail/09-texlive.conf`
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libdir=\${exec_prefix}/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --mandir=\${prefix}/man \
+ --infodir=\${prefix}/info \
+ --docdir=\${prefix}/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
--with-texgyre-dir=/usr/share/texmf-dist/fonts/opentype/public/tex-gyre \
CFLAGS="$SLKCFLAGS" \