Browse Source

screenfetch: Update from 3.7.0 to 3.8.0

android-5
Fredrik Fornwall 8 years ago
parent
commit
79811bfc7f
  1. 4
      packages/screenfetch/build.sh
  2. 29
      packages/screenfetch/screenfetch-dev.patch

4
packages/screenfetch/build.sh

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://github.com/KittyKatt/screenFetch
TERMUX_PKG_DESCRIPTION="Bash Screenshot Information Tool"
TERMUX_PKG_DEPENDS="bash"
TERMUX_PKG_VERSION=3.7.0
TERMUX_PKG_VERSION=3.8.0
TERMUX_PKG_SRCURL=https://github.com/KittyKatt/screenFetch/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=6711fe924833919d53c1dfbbb43f3777d33e20357a1b1536c4472f6a1b3c6be0
TERMUX_PKG_SHA256=248283ee3c24b0dbffb79ed685bdd518554073090c1c167d07ad2a729db26633
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_FOLDERNAME=screenFetch-${TERMUX_PKG_VERSION}
TERMUX_PKG_MAINTAINER="Pierre Rudloff @Rudloff"

29
packages/screenfetch/screenfetch-dev.patch

@ -1,29 +0,0 @@
diff --git a/screenfetch-dev b/screenfetch-dev
index 56837fe..8d4a8c1 100755
--- a/screenfetch-dev
+++ b/screenfetch-dev
@@ -4134,15 +4134,15 @@ if [[ "$overrideDisplay" ]]; then
fi
# Check for android
-#if type -p getprop >/dev/null 2>&1; then
-# distro="Android"
-# detectmem
-# detectuptime
-# detectkernel
-# detectdroid
-# infoDisplay
-# exit 0
-#fi
+if type -p getprop >/dev/null 2>&1; then
+ distro="Android"
+ detectmem
+ detectuptime
+ detectkernel
+ detectdroid
+ infoDisplay
+ exit 0
+fi
for i in "${display[@]}"; do
if [[ ! "$i" == "" ]]; then
Loading…
Cancel
Save