summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5f0c02b..228243a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,4 +35,6 @@ build() {
package() {
cd "${pkgname%-git}"
install -Dm 755 arduino-language-server -t "$pkgdir"/usr/bin
+
+ find "$pkgdir" -type d -name .git -exec rm -r '{}' +
}