mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 20:30:53 +00:00
This is an addendum to an earlier fix in #5662. Task-spooler provides `ts` and `ts.1`, which is already provided by moreutils, but is an entirely different tool (for prefixing input with a timestamp). Since moreutils is a very common utility package and task-spooler is much less commonly used, it should be renamed. This PR addresses this by renaming `ts` to `tsp` and patching the man page accordingly. This way both moreutils and task-spooler can be installed. This actually brings the package in line with Debian which has long since done the same. https://sources.debian.org/patches/task-spooler/1.0.3%2Bdfsg1-1/tsp.patch/ The same is true in Ubuntu: https://manpages.ubuntu.com/manpages/jammy/man1/tsp.1.html And ArchLinux: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=task-spooler#n18 And probably more.
16 lines
618 B
Bash
16 lines
618 B
Bash
TERMUX_PKG_HOMEPAGE=https://vicerveza.homeunix.net/~viric/soft/ts/
|
|
TERMUX_PKG_DESCRIPTION="Task spooler is a Unix batch system where the tasks spooled run one after the other"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=1:1.0.3
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://vicerveza.homeunix.net/~viric/soft/ts/ts-${TERMUX_PKG_VERSION:2}.tar.gz
|
|
TERMUX_PKG_SHA256=fa833311543dc535b60cb7ab83c64ab5ee31128dbaaaa13dde341984e542b428
|
|
TERMUX_PKG_AUTO_UPDATE=false
|
|
|
|
termux_step_post_make_install() {
|
|
install -Dm600 \
|
|
$TERMUX_PKG_SRCDIR/ts.1 \
|
|
$TERMUX_PREFIX/share/man/man1/tsp.1
|
|
}
|