termux_step_post_make_install() {
printf "# The main termux repository:\ndeb [arch=all,${TERMUX_ARCH}] https://termux.net stable main\n" > $TERMUX_PREFIX/etc/apt/sources.list
- cp $TERMUX_PKG_BUILDER_DIR/trusted.gpg $TERMUX_PREFIX/etc/apt/
- rm /data/data/com.termux/files/usr/include/apt-pkg -r
+ cp $TERMUX_PKG_BUILDER_DIR/trusted.gpg $TERMUX_PREFIX/etc/apt/
+ rm $TERMUX_PREFIX/include/apt-pkg -r
}
-fi
-
-PREFIX=${prefix:-/usr/local}
-+usethisperl=/data/data/com.termux/files/usr/bin/perl
-+PREFIX=/data/data/com.termux/files/usr
++usethisperl=@TERMUX_PREFIX@/bin/perl
++PREFIX=@TERMUX_PREFIX@
echo Okay, time to install this puppy.
---- /data/data/com.termux/files/home/MPD-0.20.8.old/doc/mpdconf.example 2017-07-18 12:54:14.570036043 +0200
+--- ./doc/mpdconf.example 2017-07-18 12:54:14.570036043 +0200
+++ ./doc/mpdconf.example 2017-07-18 12:56:34.270035990 +0200
@@ -10,14 +10,14 @@
# be disabled and audio files will only be accepted over ipc socket (using
# setting defaults to logging to syslog, otherwise logging is disabled.
#
-#log_file "~/.mpd/log"
-+#log_file "/data/data/com.termux/files/home/.mpd/log"
++#log_file "@TERMUX_HOME@/.mpd/log"
#
# This setting sets the location of the file which stores the process ID
# for use of mpd --kill and some init scripts. This setting is disabled by
#
# And for Unix Socket
-#bind_to_address "~/.mpd/socket"
-+bind_to_address "/data/data/com.termux/files/usr/tmp/mpd.socket"
++bind_to_address "@TERMUX_PREFIX@/tmp/mpd.socket"
#
# This setting is the TCP port that is desired for the daemon to get assigned
-# to.
UTF8_SUPPORT=yes
-DESTDIR=
-PREFIX=/usr
-+DESTDIR=/data/data/com.termux/files/usr
++DESTDIR=@TERMUX_PREFIX@
+PREFIX=
CONFIG_FILE=$(DESTDIR)/etc/multitail.conf
-#!/data/data/com.termux/files/usr/bin/sh
+#!/bin/sh
# source-ssh-agent: Script to source for ssh-agent to work.
# Check if accidentaly executed instead of sourced: