Update PKGBUILD: add check to prevent duplicate copy of libfpcbep.so
This commit is contained in:
parent
90056f5bb4
commit
4cfba7e5ff
3
PKGBUILD
3
PKGBUILD
@ -22,7 +22,10 @@ sha256sums=(
|
|||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
libfpcbep_path=$(find . -name 'libfpcbep.so')
|
libfpcbep_path=$(find . -name 'libfpcbep.so')
|
||||||
|
# Kopíruje pouze pokud soubor neexistuje v cíli
|
||||||
|
if [ ! -e "$_pkgname/libfpcbep.so" ]; then
|
||||||
cp -f $libfpcbep_path $_pkgname
|
cp -f $libfpcbep_path $_pkgname
|
||||||
|
fi
|
||||||
cd $_pkgname
|
cd $_pkgname
|
||||||
# patch meson.build
|
# patch meson.build
|
||||||
# use '+' as sed delimiter
|
# use '+' as sed delimiter
|
||||||
|
Reference in New Issue
Block a user