mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
btrfs-progs: extract update_* to external update file
This commit is contained in:
parent
5ee1986e66
commit
3fa37458f4
2 changed files with 2 additions and 2 deletions
|
@ -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}"
|
Loading…
Add table
Reference in a new issue