diff options
author | tocic | 2023-05-05 07:32:46 +0300 |
---|---|---|
committer | tocic | 2023-05-05 07:32:46 +0300 |
commit | ef207c3759bbe4f5a84ae01a8eb602b443681943 (patch) | |
tree | a7286b8abee2eb8d8be554f14d4bb6d35edbab12 | |
parent | 76232d89151448cffddbc8afb3ffe3ef94e2ca4b (diff) | |
download | aur-ef207c3759bbe4f5a84ae01a8eb602b443681943.tar.gz |
Remove leftover build artifacts before the build
Recommended at https://wiki.archlinux.org/title/Python_package_guidelines.
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ pkgver() { | sed "s/\([^-]*-g\)/r\1/;s/-/./g") } +prepare() { + git -C "${pkgname}" clean --force -xd +} + build() { cd "${pkgname}" |