moreutils: fix distfiles= and update check

This commit is contained in:
maxice8 2018-08-07 10:43:48 -03:00
parent 5fd662cfe3
commit db1d55769e
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'moreutils'
pkgname=moreutils
version=0.62
revision=1
revision=2
build_style=gnu-makefile
make_build_args="DOCBOOK2XMAN=docbook2man"
hostmakedepends="docbook2x"
@ -10,8 +10,8 @@ short_desc="Unix tools that nobody thought to write, when Unix was young"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2"
homepage="https://joeyh.name/code/moreutils/"
distfiles="https://github.com/rtlanceroad/moreutils/archive/${version}.tar.gz"
checksum=9ddf9d74983bbca869de96210c81b95ef747d817bce67505f9804a90b9ce83bd
distfiles="http://http.debian.net/debian/pool/main/m/moreutils/moreutils_0.62.orig.tar.xz"
checksum=ffd0bfb2e490db63355e1a7d168c6f3f9802ee2c5e80880ca632e603b4b67d88
post_install() {
# rename parallel to not conflict with gnu-parllel

2
srcpkgs/moreutils/update Normal file
View File

@ -0,0 +1,2 @@
pattern="news/version_\K[\d\.]*(?=/)"
site=https://joeyh.name/code/moreutils/