dockstar-uboot: fix update-check

This commit is contained in:
Andrea Brancaleoni 2015-08-17 08:06:12 +02:00
parent a7095c1c3e
commit 386b05f8c0
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'kirkwood-uboot'
pkgname=dockstar-uboot
version=2014.04.R4
version=4
revision=1
wrksrc="u-boot-${version##*.}"
only_for_archs="armv5tel"
@ -8,7 +8,7 @@ short_desc="(archlinuxarm) u-boot compiled for dockstar"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-3"
homepage="https://github.com/archlinuxarm/u-boot"
distfiles="https://github.com/archlinuxarm/u-boot/archive/${version##*.}.tar.gz http://archlinuxarm.org/os/armv5te/boot/dockstar/uboot-dockstar.env"
distfiles="https://github.com/archlinuxarm/u-boot/archive/R$version.tar.gz http://archlinuxarm.org/os/armv5te/boot/dockstar/uboot-dockstar.env"
checksum="22492ec730f0e91e4f732d8793cea39fb5945386eb46e86f3d8446978361c551 ec6522fdb74a41bc2b6f301729c421c9600be1a479bf7932405b39d2f459ada7"
skip_extraction="uboot-dockstar.env"

View File

@ -0,0 +1,2 @@
site="https://api.github.com/repos/archlinuxarm/u-boot/tags"
pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'