Update PKGBUILD: add check to prevent duplicate copy of libfpcbep.so
This commit is contained in:
parent
90056f5bb4
commit
4cfba7e5ff
5
PKGBUILD
5
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
|
||||
|
Reference in New Issue
Block a user