From b6e89650e9632e5bf4d06ef0bb25554cb83f22c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 21 Jul 2020 22:49:47 +0700 Subject: [PATCH] w3m: update to 0.5.3+git20200502. --- srcpkgs/w3m/template | 12 ++++++------ srcpkgs/w3m/update | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/w3m/update diff --git a/srcpkgs/w3m/template b/srcpkgs/w3m/template index a739d9ad654..50d702cd76c 100644 --- a/srcpkgs/w3m/template +++ b/srcpkgs/w3m/template @@ -1,20 +1,20 @@ # Template file for 'w3m' pkgname=w3m -version=0.5.3.git20190105 -revision=3 -wrksrc="${pkgname}-${version/.git/-git}" +version=0.5.3+git20200502 +revision=1 +wrksrc="${pkgname}-${version/+/-}" build_style=gnu-configure configure_args="--libexecdir=/usr/lib --enable-image=x11,fb --with-imagelib=imlib2 --with-termlib=ncurses --disable-w3mmailer" hostmakedepends="pkg-config gc-devel perl" makedepends="zlib-devel ncurses-devel gc-devel libressl-devel imlib2-devel libX11-devel" short_desc="Text-based Web browser and pager (with Debian patches)" -maintainer="Orphaned " +maintainer="Đoàn Trần Công Danh " license="MIT" homepage="https://tracker.debian.org/pkg/w3m" changelog="https://raw.githubusercontent.com/tats/w3m/master/NEWS" -distfiles="https://github.com/tats/w3m/archive/v${version/.git/+git}.tar.gz" -checksum=0467bb5429b75749205a3f57b9f5e8abba49929272aeab6fce94ff17953f0784 +distfiles="https://github.com/tats/w3m/archive/v$version.tar.gz" +checksum=bfc3d076be414b76352fa487d67b0b2aa9e400aafe684e2eb66d668a1597141c LDFLAGS="-lX11" diff --git a/srcpkgs/w3m/update b/srcpkgs/w3m/update new file mode 100644 index 00000000000..7402903fb1b --- /dev/null +++ b/srcpkgs/w3m/update @@ -0,0 +1 @@ +pattern="/archive/v\K[\d\.]+\+git\d+(?=\.tar)"