bump(main/pkgtop): 2.5.1

This commit is contained in:
Twaik Yont 2023-10-16 23:56:25 +03:00
parent fa082e5a85
commit 269a178715
2 changed files with 4 additions and 5 deletions

View File

@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/orhun/pkgtop
TERMUX_PKG_DESCRIPTION="Interactive package manager and resource monitor"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.4.1
TERMUX_PKG_REVISION=4
TERMUX_PKG_VERSION="2.5.1"
TERMUX_PKG_SRCURL=https://github.com/orhun/pkgtop/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=db32c40858033fccb0f1d27c409dc47447199ab2635bf25e82284f5619b0e113
TERMUX_PKG_SHA256=3d8f1cd812fd2243fbf749ab03201bb86b9967cefd5d58cea456cdfcccfd416e
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {

View File

@ -16,8 +16,8 @@ diff -uNr pkgtop-2.4.1/cmd/pkgtop.go pkgtop-2.4.1.mod/cmd/pkgtop.go
" OS: $(uname -o)\\n\""
dfCmd = "df -h 2> /dev/null | awk '{$1=$1};1 {if(NR>1)print}'" /* Print the disk usage with 'df' */
pkgsCmd = map[string]string{ /* Commands for listing the installed packages */
- "arch,manjaro": "pacman -Qi | awk '/^Name/{name=$3} " +
+ "arch,manjaro,termux-pacman": "pacman -Qi | awk '/^Name/{name=$3} " +
- "arch,manjaro,endeavouros": "pacman -Qi | awk '/^Name/{name=$3} " +
+ "arch,manjaro,endeavouros,termux-pacman": "pacman -Qi | awk '/^Name/{name=$3} " +
"/^Version/{ver=$3} " +
"/^Description/{desc=substr($0,index($0,$3))} " +
"/^Installed Size/{size=$4$5; " +