testdisk: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:17:24 +00:00
parent 0156f86f40
commit fbf3e6a40d
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,5 @@ short_desc="Powerful free data recovery software"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.cgsecurity.org/"
update_site="http://www.cgsecurity.org/wiki/TestDisk_Download"
update_pattern=$pkgname'-\K[\d.]+(?=\.tar\.bz2)'
distfiles="http://www.cgsecurity.org/$pkgname-$version.tar.bz2"
checksum=a597c3ebc375acdf0ff60f44ed8935a301132aae78ec00f64f091637d055326c

2
srcpkgs/testdisk/update Normal file
View File

@ -0,0 +1,2 @@
site="http://www.cgsecurity.org/wiki/TestDisk_Download"
pattern=$pkgname'-\K[\d.]+(?=\.tar\.bz2)'