@@ -3,13 +3,13 @@ TERMUX_PKG_DESCRIPTION="Tweak tool for the MATE Desktop"
33TERMUX_PKG_LICENSE=" GPL-2.0-or-later"
44TERMUX_PKG_MAINTAINER=" @termux"
55TERMUX_PKG_VERSION=" 22.10.0"
6+ TERMUX_PKG_REVISION=1
67TERMUX_PKG_SRCURL=" https://github.com/ubuntu-mate/mate-tweak/archive/refs/tags/$TERMUX_PKG_VERSION .tar.gz"
78TERMUX_PKG_SHA256=c33c092b0151b50d8a5706825f1bcef57f1738f8f5cf22af49c11f45bc14e84a
89TERMUX_PKG_AUTO_UPDATE=true
9- TERMUX_PKG_PYTHON_RUNTIME_DEPS=" distro, psutil, setproctitle"
10- TERMUX_PKG_DEPENDS=" dconf, gsettings-desktop-schemas, ldd, libnotify, libmatekbd, mate-applets, mate-panel, pygobject, python, python-pip"
10+ TERMUX_PKG_PYTHON_RUNTIME_DEPS=" distro, setproctitle"
11+ TERMUX_PKG_DEPENDS=" dconf, gsettings-desktop-schemas, ldd, libnotify, libmatekbd, mate-applets, mate-panel, pygobject, python, python-pip, python-psutil "
1112TERMUX_PKG_SUGGESTS=" mate-applet-brisk-menu, plank-reloaded, tilda, mate-applet-appmenu"
12- TERMUX_PKG_BUILD_DEPENDS=" rsync"
1313TERMUX_PKG_PLATFORM_INDEPENDENT=true
1414TERMUX_PKG_BUILD_IN_SRC=true
1515TERMUX_PKG_RM_AFTER_INSTALL="
@@ -20,6 +20,14 @@ share/polkit-1
2020termux_step_post_make_install () {
2121 # this software installs itself in a really messed-up directory structure.
2222 # The easiest way to explain what is wrong is to just show commands fixing it after installation:
23- rsync -av " $TERMUX_PREFIX /local/bin/" " $TERMUX_PREFIX /bin"
24- rsync -av " $TERMUX_PREFIX /local/lib/python$TERMUX_PYTHON_VERSION /dist-packages/usr/" " $TERMUX_PREFIX "
23+ install -Dm755 -t " $TERMUX_PREFIX /bin" " $TERMUX_PREFIX /local/bin/marco-compton"
24+ install -Dm755 -t " $TERMUX_PREFIX /bin" " $TERMUX_PREFIX /local/bin/marco-picom"
25+ local prog
26+ for prog in marco-glx marco-no-composite marco-xr_glx_hybrid marco-xrender mate-tweak; do
27+ install -Dm755 -t " $TERMUX_PREFIX /bin" " $TERMUX_PREFIX /local/bin/$prog "
28+ install -Dm644 -t " $TERMUX_PREFIX /share/applications" " data/$prog .desktop"
29+ install -Dm644 -t " $TERMUX_PREFIX /share/man/man1" " data/$prog .1"
30+ done
31+ install -Dm644 -t " $TERMUX_PREFIX /lib/$TERMUX_PKG_NAME " data/mate-tweak.ui
32+ install -Dm644 -t " $TERMUX_PREFIX /lib/$TERMUX_PKG_NAME " util/mate-tweak-helper
2533}
0 commit comments