void-packages/srcpkgs/num-utils/template
Đoàn Trần Công Danh 7e36230844 num-utils: remove noarch
2020-11-23 18:50:48 +07:00

28 lines
782 B
Bash

# Template file for 'num-utils'
pkgname=num-utils
version=0.5
revision=2
hostmakedepends="perl"
depends="perl"
short_desc="Programs for dealing with numbers from the Unix command line"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://suso.suso.org/xulu/Num-utils"
distfiles="http://suso.suso.org/programs/${pkgname}/downloads/${pkgname}-${version}.tar.gz"
checksum=03592760fc7844492163b14ddc9bb4e4d6526e17b468b5317b4a702ea7f6c64e
post_extract() {
sed -i 's/\$new_number\^\$1/$new_number**$1/g' numprocess
}
do_install() {
for f in average bound interval normalize random range round; do
vbin $f num$f
pod2man $f > $f.1
vman $f.1 num$f.1
done
for f in numgrep numprocess numsum; do
vbin $f
pod2man $f > $f.1
vman $f.1
done
}