Skip to content
The missing termux packages feat. Hugo and sift
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Treat resources file as go template to avoid linting errors Aug 2, 2018
archetypes Add hugo Jul 24, 2018
content hugo: Remove package. hugo is now in the official termux repository Jan 21, 2019
docs Sign release Jan 21, 2019
themes/termux Remove obsolete comments and simplify pipe Sep 3, 2018
.eslintrc Add hugo Jul 24, 2018
.gitignore Refactor resources in css properties Aug 2, 2018
.stylelintrc Add prettier-stylelint and bump project to version 0.2.0 Aug 2, 2018
README.md
config.toml Add robots.txt, change chroma theme, fix base url Jul 26, 2018
package.json Add cssnano and refine npm scripts Sep 3, 2018
yarn.lock Update dependencies Jan 21, 2019

README.md

Termux APT repository for Hugo and sift

This apt repository contains extra packages for Termux, an Android terminal emulator and Linux environment app.

Current packages

  • Sift 0.9.0, a fast and powerful alternative to grep (Github).

Former packages

The following packages have been removed from the repository. This usually happens once they can be found in the official termux packages repository.

  • Hugo v0.53/extended, a fast and flexible Static Site Generator written in Go (Github). Hugo is now part of the official termux packages repository! 🎉

Requirements

Make sure you have installed all required packages to get access to the apt repository, namely curl to download the signing key and gnupg to import it:

pkg install curl gnupg

Add extras repository to Termux

Access the repo by adding a file named holehan.list to $PREFIX/etc/apt/sources.list.d containing the single line deb https://termux.holehan.org/ termux extras. Then import the GPG key the repository was signed with. Just follow the steps below:

mkdir -p $PREFIX/etc/apt/sources.list.d
echo "deb https://termux.holehan.org/ termux extras" \
> $PREFIX/etc/apt/sources.list.d/holehan.list
curl https://termux.holehan.org/holehan.key -o holehan.key
apt-key add holehan.key
rm holehan.key # Delete the key after import

Installing packages

Hugo

The Hugo package comes with bash-completion support and man pages. So you may want to install these packages as well:

pkg install bash-completion man hugo

Notes:

termux-fix-shebang node_modules/postcss-cli/bin/postcss

Sift

Sift offers bash-completion support, too.

pkg install bash-completion sift

Upgrading packages

pkg upgrade

Remove extras repository from Termux

Remove the extras repository from Termux by

  • Uninstalling its packages with pkg uninstall PACKAGE_NAME,
  • removing its entry from the packages sources list
rm $PREFIX/etc/apt/sources.list.d/holehan.list
  • removing the signing key
apt-key del C9681FDF7AEBD90F

Alternative: Build it yourself

The scripts to build the packages can be found at this fork of the official termux repository. Find the Hugo build script at https://github.com/holehan/termux-packages/tree/master/packages/hugo.

You can’t perform that action at this time.