btrfs-progs: extract update_* to external update file
This commit is contained in:
@@ -11,8 +11,6 @@ short_desc="Btrfs filesystem utilities"
|
|||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://btrfs.wiki.kernel.org/"
|
homepage="http://btrfs.wiki.kernel.org/"
|
||||||
update_pattern=$pkgname' \K[\d+.]+(?= \()'
|
|
||||||
update_version="${_distver}"
|
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
git clone -b v${_distver} git://git.kernel.org/pub/scm/linux/kernel/git/kdave/${pkgname}.git ${pkgname}-${version}
|
git clone -b v${_distver} git://git.kernel.org/pub/scm/linux/kernel/git/kdave/${pkgname}.git ${pkgname}-${version}
|
||||||
|
|||||||
2
srcpkgs/btrfs-progs/update
Normal file
2
srcpkgs/btrfs-progs/update
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
pattern=$pkgname' \K[\d+.]+(?= \()'
|
||||||
|
version="${_distver}"
|
||||||
Reference in New Issue
Block a user