From 46b82bc34db321e913d0589808f33d60531a6407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 27 Oct 2022 18:59:05 +0700 Subject: [PATCH] geckodriver: fix build after auto-create_wrksrc --- srcpkgs/geckodriver/template | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/srcpkgs/geckodriver/template b/srcpkgs/geckodriver/template index 6f6d251f3f6..784f4b381df 100644 --- a/srcpkgs/geckodriver/template +++ b/srcpkgs/geckodriver/template @@ -3,8 +3,7 @@ pkgname=geckodriver version=0.30.0 revision=1 _hg_commit="d372710b98a6" -create_wrksrc=yes -build_wrksrc=${pkgname} +build_wrksrc=testing/geckodriver build_style=cargo short_desc="WebDriver for Firefox" maintainer="m3tav3rse " @@ -21,8 +20,6 @@ checksum="7f8820ec83ca7671236ee74345bdbd20cf328fde4896397353952c0cc4e0eb91 skip_extraction="Cargo.lock" post_extract() { - mv ${wrksrc}/mozilla-central-${_hg_commit}/testing/* ${wrksrc} - rm -r ${wrksrc}/mozilla-central-${_hg_commit} cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/Cargo.lock ${build_wrksrc} }