From ecbc19b90ea893e3934cad6d6542ebc7e5e1a777 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 27 Jan 2017 01:41:59 +0300 Subject: Add package variable SRCURL. Replace package_get_source in existing packages to common function. --- packages/qemu.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'packages/qemu.sh') diff --git a/packages/qemu.sh b/packages/qemu.sh index a7e7966..27dff3e 100755 --- a/packages/qemu.sh +++ b/packages/qemu.sh @@ -1,5 +1,7 @@ #!/bin/bash +SRCURL=git://git.qemu-project.org/qemu.git + function package_build { run_switch_branch master run_configure \ @@ -16,10 +18,6 @@ function package_build { run_make_install } -function package_get_source { - run_clone git://git.qemu-project.org/qemu.git -} - #function package_deps { # run_add_dep virglrenderer #} -- cgit v1.2.3-60-g2f50