From 7817f0f563dd5013a50df7fa43df7dbd6575d7f7 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:17:04 +0000 Subject: [PATCH] sg3_utils: extract update_* to external update file --- srcpkgs/sg3_utils/template | 1 - srcpkgs/sg3_utils/update | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 srcpkgs/sg3_utils/update diff --git a/srcpkgs/sg3_utils/template b/srcpkgs/sg3_utils/template index d5db04a4abe..c2bad1fc93f 100644 --- a/srcpkgs/sg3_utils/template +++ b/srcpkgs/sg3_utils/template @@ -9,7 +9,6 @@ short_desc="Generic SCSI utilities" maintainer="Juan RP " homepage="http://sg.danny.cz/sg/sg3_utils.html" license="BSD, GPL-2" -update_pattern=$pkgname'-\K[\d.]+(?=\.tgz)' distfiles="http://sg.danny.cz/sg/p/$pkgname-$version.tgz" checksum=44a9ecfd3af018fa9f3586067a8fa5f4874451c3d773d74436d262a7e530ee83 diff --git a/srcpkgs/sg3_utils/update b/srcpkgs/sg3_utils/update new file mode 100644 index 00000000000..7bf13c80646 --- /dev/null +++ b/srcpkgs/sg3_utils/update @@ -0,0 +1 @@ +pattern=$pkgname'-\K[\d.]+(?=\.tgz)'