Browse Source

neofetch: update to 3.0.1 (#711)

android-5
Herdiansyah 8 years ago
committed by Fredrik Fornwall
parent
commit
8dbe1ca300
  1. 4
      packages/neofetch/build.sh
  2. 14
      packages/neofetch/neofetch.patch

4
packages/neofetch/build.sh

@ -2,8 +2,8 @@ TERMUX_PKG_MAINTAINER="Muhammad Herdiansyah @konimex"
TERMUX_PKG_HOMEPAGE=https://github.com/dylanaraps/neofetch
TERMUX_PKG_DESCRIPTION="Simple system information script"
TERMUX_PKG_DEPENDS="bash"
TERMUX_PKG_VERSION=3.0
TERMUX_PKG_VERSION=3.0.1
TERMUX_PKG_SRCURL=https://github.com/dylanaraps/neofetch/archive/${TERMUX_PKG_VERSION}/neofetch-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=b5d3319474ff432c874dd39d38800ac8eb31da0b8e481b871ff4792f07fb67c4
TERMUX_PKG_SHA256=31447da6507c13c44eb2006901c00ed4ca08f0423d9439aaddea64edcaca2c38
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_PLATFORM_INDEPENDENT=yes

14
packages/neofetch/neofetch.patch

@ -1,14 +0,0 @@
diff -u -r ../neofetch-3.0/neofetch ./neofetch
--- ../neofetch-3.0/neofetch 2017-01-23 04:40:31.000000000 +0100
+++ ./neofetch 2017-01-23 13:12:25.682702897 +0100
@@ -3285,8 +3285,8 @@
if [[ -f "/etc/neofetch/config" ]]; then
default_config="/etc/neofetch/config"
- elif [[ -f "/data/data/com.termux/files/etc/neofetch/config" ]]; then
- default_config="/data/data/com.termux/files/etc/neofetch/config"
+ elif [[ -f "/data/data/com.termux/files/usr/etc/neofetch/config" ]]; then
+ default_config="/data/data/com.termux/files/usr/etc/neofetch/config"
else
[[ -z "$script_dir" ]] && script_dir="$(get_full_path "$0")"
Loading…
Cancel
Save