From de323e0741af1bf14977ae03c1d67a489c10644e Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Mon, 17 Aug 2015 09:21:10 +0200 Subject: [PATCH] subtle: update to 0.11.3224, dejavu. --- srcpkgs/subtle/template | 8 ++++---- srcpkgs/subtle/update | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/subtle/update diff --git a/srcpkgs/subtle/template b/srcpkgs/subtle/template index e22c6fd8b3a..a7c3cb3879b 100644 --- a/srcpkgs/subtle/template +++ b/srcpkgs/subtle/template @@ -1,7 +1,7 @@ # Template file for 'subtle' pkgname=subtle -version=0.11 -revision=2 +version=0.11.3224 +revision=1 build_pie=yes nocross=yes hostmakedepends="mercurial ruby-devel pkg-config" @@ -16,8 +16,8 @@ conf_files="/etc/xdg/subtle/subtle.rb" do_fetch() { local url="http://hg.subforge.org/${pkgname}" - msg_normal "Fetching source from $url ...\n" - hg clone --rev ${version} ${url} ${pkgname}-${version} + msg_normal "Fetching source ${version%.*} from $url ...\n" + hg clone --rev ${version%.*} ${url} ${pkgname}-${version} # Enable transplant plugin printf "[extensions]\ntransplant=" > ~/.hgrc cd ${pkgname}-${version} diff --git a/srcpkgs/subtle/update b/srcpkgs/subtle/update new file mode 100644 index 00000000000..bb99e1ff3be --- /dev/null +++ b/srcpkgs/subtle/update @@ -0,0 +1,2 @@ +site='http://subforge.org/projects/subtle/files' +pattern='>subtle-\K[\d\.]+'