[arch-commits] Commit in lilypond/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Mar 15 11:08:47 UTC 2020


    Date: Sunday, March 15, 2020 @ 11:08:47
  Author: arojas
Revision: 597782

Fix paths in python scripts (FS#65789)

Modified:
  lilypond/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-15 11:08:43 UTC (rev 597781)
+++ PKGBUILD	2020-03-15 11:08:47 UTC (rev 597782)
@@ -6,7 +6,7 @@
 
 pkgname=lilypond
 pkgver=2.20.0
-pkgrel=1
+pkgrel=2
 pkgdesc="An automated music engraving system"
 arch=('x86_64')
 url="http://lilypond.org"
@@ -46,8 +46,6 @@
     sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
   done
 
-#  sed -i 's|GUILE_CFLAGS=.*|GUILE_CFLAGS="`pkg-config --cflags guile-1.8`"|' configure
-#  sed -i 's|GUILE_LDFLAGS=.*|GUILE_LDFLAGS="`pkg-config --libs guile-1.8`"|' configure
   sed -e 's|1.82, 1.82|1.82|g' -i configure.ac # Remove version constraint on texi2html
 
   rm -rf lily/out/ python/out/
@@ -71,5 +69,7 @@
 package() {
   cd "$srcdir/$pkgname-$pkgver"
   make DESTDIR="$pkgdir" vimdir="/usr/share/vim/vimfiles" install
+
+# Fix paths is python scripts
+  sed -e 's|/usr/local|/usr|g' -i "$pkgdir"/usr/bin/*
 }
-



More information about the arch-commits mailing list