summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index 52aea9a..62cfb42 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -225,6 +225,10 @@ makepkg_modify='
/^\}$/ifind . -exec touch --date="1990-01-01 0:0:0 +0" {} +
}
+/download_sources\(\) \{/ {
+ arm -rf "$srcdir"
+}
+
s|srcdir=.*|&-libre|
s|pkgdirbase=.*|&-libre|
s|check_build_status$|:|