From cd63d69eb629600192d52b49f98c2ba67691f66f Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:17:11 +0000 Subject: [PATCH] mariadb: extract update_* to external update file --- srcpkgs/mariadb/template | 2 -- srcpkgs/mariadb/update | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/mariadb/update diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template index 774f57a46e..931950aa75 100644 --- a/srcpkgs/mariadb/template +++ b/srcpkgs/mariadb/template @@ -35,8 +35,6 @@ homepage="http://mariadb.org/" license="GPL-2" distfiles="https://downloads.$pkgname.org/f/$pkgname-$version/source/$pkgname-$version.tar.gz" checksum=9154cb68504d469b1bac636b85e30b2b2da2586092476d6ad2f9d6bc462909d8 -update_site="https://downloads.mariadb.org/mariadb/" -update_pattern="/mariadb/\K[\d.]+(?=/)" pre_configure() { # We need some host binaries before starting cross compilation. diff --git a/srcpkgs/mariadb/update b/srcpkgs/mariadb/update new file mode 100644 index 0000000000..579eb27c5e --- /dev/null +++ b/srcpkgs/mariadb/update @@ -0,0 +1,2 @@ +site="https://downloads.mariadb.org/mariadb/" +pattern="/mariadb/\K[\d.]+(?=/)"