From db1d55769eb832d4e433b4032e837aab4f1869e6 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 7 Aug 2018 10:43:48 -0300 Subject: [PATCH] moreutils: fix distfiles= and update check --- srcpkgs/moreutils/template | 6 +++--- srcpkgs/moreutils/update | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/moreutils/update diff --git a/srcpkgs/moreutils/template b/srcpkgs/moreutils/template index 5f7191c162..3ddc274797 100644 --- a/srcpkgs/moreutils/template +++ b/srcpkgs/moreutils/template @@ -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 " 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 diff --git a/srcpkgs/moreutils/update b/srcpkgs/moreutils/update new file mode 100644 index 0000000000..809fb9072d --- /dev/null +++ b/srcpkgs/moreutils/update @@ -0,0 +1,2 @@ +pattern="news/version_\K[\d\.]*(?=/)" +site=https://joeyh.name/code/moreutils/