From afa3251c50481c13675a9e5fcf86122ce0aeaf48 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 3 Apr 2015 09:06:29 +0200 Subject: [PATCH] chromium-pepper-flash: do not download distfiles to the sources folder. --- srcpkgs/chromium-pepper-flash/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/chromium-pepper-flash/template b/srcpkgs/chromium-pepper-flash/template index 043ef190623..33997181e74 100644 --- a/srcpkgs/chromium-pepper-flash/template +++ b/srcpkgs/chromium-pepper-flash/template @@ -31,6 +31,13 @@ checksum="$_chromeChecksum" skip_extraction="$_filename" +do_fetch() { + mkdir -p $wrksrc + cd $wrksrc + xbps-uhelper fetch $distfiles + echo "$checksum $_filename" | sha256sum -c || { sha256sum "$_filename"; return 1; } +} + do_build() { sed \ -e "s|%VERSION%|${version}|" \