summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLev Levitsky2021-02-05 15:18:20 +0300
committerLev Levitsky2021-02-05 15:18:20 +0300
commit5f49728a96fd620ab6385f8ecc2f7b04f8308a30 (patch)
treefb5f27c0f2650289898c0f009134190bf1bc5af3 /PKGBUILD
parentcae765a824ac3ca8cfa75d2e50dd2afc32be67e9 (diff)
downloadaur-5f49728a96fd620ab6385f8ecc2f7b04f8308a30.tar.gz
Clean up old build directories
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 00c595e5b90..3d62ec9614e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Lev Levitsky <levlev@mail.ru>
pkgbase="percolator-git"
pkgname=('percolator-git' 'percolator-converters-git' 'elude-git')
-pkgver=3.04
+pkgver=3.05.r95.g62185c8f
pkgrel=1
pkgdesc="Software for postprocessing of shotgun proteomics data + format converters + Elude tool"
url="http://percolator.ms/"
@@ -21,7 +21,8 @@ prepare() {
cd "${srcdir}/source"
cd "$BUILDDIR"
for d in "${pkgname[@]}"; do
- mkdir "${d%-git}"
+ mkdir -p "${d%-git}"
+ rm -rf "${d%-git}"/*
done
}