aboutsummaryrefslogtreecommitdiff
path: root/graphics/lilypond
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-30 20:24:25 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-08 16:42:02 +0700
commit65d03cc26544204f9dff0c8568986eef8a12baf3 (patch)
treeafaa45db9741d0e26364abf238a396b306878248 /graphics/lilypond
parent14166e988b0c420da61f0620a4c2adcfd64c9210 (diff)
graphics/lilypond: Add doinst/douninst for /usr/info/dir.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/lilypond')
-rw-r--r--graphics/lilypond/doinst.sh6
-rw-r--r--graphics/lilypond/lilypond.SlackBuild7
2 files changed, 12 insertions, 1 deletions
diff --git a/graphics/lilypond/doinst.sh b/graphics/lilypond/doinst.sh
new file mode 100644
index 000000000000..1bef5020286e
--- /dev/null
+++ b/graphics/lilypond/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/graphics/lilypond/lilypond.SlackBuild b/graphics/lilypond/lilypond.SlackBuild
index d1c3cfc106df..8196bc1a0f60 100644
--- a/graphics/lilypond/lilypond.SlackBuild
+++ b/graphics/lilypond/lilypond.SlackBuild
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230630 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add doinst.sh to handle /usr/info/dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lilypond
VERSION=${VERSION:-2.24.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -106,6 +109,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE