diff --git a/PKGBUILD b/PKGBUILD index a9389cc..2baf0c4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -22,7 +22,10 @@ sha256sums=( prepare() { libfpcbep_path=$(find . -name 'libfpcbep.so') - cp -f $libfpcbep_path $_pkgname + # Kopíruje pouze pokud soubor neexistuje v cíli + if [ ! -e "$_pkgname/libfpcbep.so" ]; then + cp -f $libfpcbep_path $_pkgname + fi cd $_pkgname # patch meson.build # use '+' as sed delimiter