Package Details: num-utils 0.5-4

Git Clone URL: https://aur.archlinux.org/num-utils.git (read-only, click to copy)
Package Base: num-utils
Description: Set of programs for dealing with numbers from the command line.
Upstream URL: http://suso.suso.org/programs/num-utils/index.phtml
Licenses: GPL
Submitter: None
Maintainer: None
Last Packager: gypaetus
Votes: 13
Popularity: 0.104458
First Submitted: 2007-08-26 14:08 (UTC)
Last Updated: 2018-01-18 03:16 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

olejorgenb commented on 2013-11-26 14:15 (UTC)

This package no longer works properly. 0 files are installed. Probably due to usage of startdir variable instead pgkdir and srcdir. Regarding the name collisions I see that debian adds 'num' as a prefix. # Contributor: Abhishek Dasgupta <abhidg@gmail.com> pkgname=num-utils pkgver=0.5 pkgrel=2 pkgdesc="Set of programs for dealing with numbers from the command line." arch=(i686 x86_64) license=("GPL") url="http://suso.suso.org/programs/num-utils/" source=(http://suso.suso.org/programs/num-utils/downloads/${pkgname}-${pkgver}.tar.gz) md5sums=('58eed69761c2da97c3bfdfa422633427') _cdsrc() { cd "${srcdir}/${pkgname}-${pkgver}" } _prefix() { _dir="$1" shift for _file in "$@"; do mv "$_dir/$_file" "$_dir/num$_file" done } build() { _cdsrc make || return 1 } package() { _cdsrc make TOPDIR="${pkgdir}/usr" install # Many of the names collide with other packages. # eg. bsd-games, puzzles, normalize # Prefix 'num' (same as debian does) as a workaround. # Ideally we probably should patch the man files and makefile but this # alot less hazzle _prefix "${pkgdir}/usr/bin" \ normalize random range average bound interval round _prefix "${pkgdir}/usr/share/man/man1" \ normalize.1.gz random.1.gz range.1.gz average.1.gz bound.1.gz \ interval.1.gz round.1.gz }

<deleted-account> commented on 2011-11-18 11:15 (UTC)

There are also conflicts with community/bsd-games and community/puzzles, for the files /usr/bin/random and /usr/bin/range respectively. Adding the following lines to the build function could be a workaround. mv ${startdir}/pkg/usr/bin/normalize ${startdir}/pkg/usr/bin/num-normalize mv ${startdir}/pkg/usr/share/man/man1/normalize.1.gz ${startdir}/pkg/usr/share/man/man1/num-normalize.1.gz mv ${startdir}/pkg/usr/bin/random ${startdir}/pkg/usr/bin/num-random mv ${startdir}/pkg/usr/share/man/man1/random.1.gz ${startdir}/pkg/usr/share/man/man1/num-random.1.gz mv ${startdir}/pkg/usr/bin/range ${startdir}/pkg/usr/bin/num-range mv ${startdir}/pkg/usr/share/man/man1/range.1.gz ${startdir}/pkg/usr/share/man/man1/num-range.1.gz Another problem: manpage generation depends on pod2man; if it is not available the man pages will be blank, with no evident error at package generation.

<deleted-account> commented on 2011-10-19 09:49 (UTC)

There's a filename conflict between this package and the completely unrelated "normalize" from [extra]. The problematic filenames are /usr/bin/normalize and /usr/share/man/man1/normalize1.gz, which exist in both packages.

<deleted-account> commented on 2011-01-23 17:02 (UTC)

greatest utils ever