diff options
Diffstat (limited to 'audio/jvmetro')
-rw-r--r-- | audio/jvmetro/jvmetro.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/audio/jvmetro/jvmetro.SlackBuild b/audio/jvmetro/jvmetro.SlackBuild index ddfb361b09..42fcfd73e7 100644 --- a/audio/jvmetro/jvmetro.SlackBuild +++ b/audio/jvmetro/jvmetro.SlackBuild @@ -51,9 +51,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Correct Makefile to point in /usr/bin vs /usr/local/bin -sed -i -e 's+/usr/local+/usr+' $TMP/$PRGNAM-$VERSION/Makefile -cat $TMP/$PRGNAM-$VERSION/Makefile +# Correct Makefile to point in /usr/bin vs /usr/local/bin and honour DESTDIR +sed -i \ + -e 's+/usr/local+/usr+' \ + -e 's+install jvmetro /usr/bin+ginstall -D jvmetro $(DESTDIR)/usr/bin/jvmetro+' \ + -e 's/-g3 //' \ + Makefile CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |