mariadb: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:17:11 +00:00
parent 3433336b5f
commit cd63d69eb6
2 changed files with 2 additions and 2 deletions

View file

@ -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.

2
srcpkgs/mariadb/update Normal file
View file

@ -0,0 +1,2 @@
site="https://downloads.mariadb.org/mariadb/"
pattern="/mariadb/\K[\d.]+(?=/)"