Skip to content

Commit

Permalink
flif: Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed Apr 17, 2018
1 parent 0415239 commit 16c1381
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mingw-w64-flif/PKGBUILD
Expand Up @@ -24,8 +24,8 @@ sha256sums=('aa02a62974d78f8109cff21ecb6d805f1d23b05b2db7189cfdf1f0d97ff89498'
apply_patch_with_msg() {
for _patch in "$@"
do
msg2 "Applying $_patch"
patch -Nbp1 -i "${srcdir}/$_patch"
msg2 "Applying ${_patch}"
patch -Nbp1 -i "${srcdir}/${_patch}"
done
}

Expand All @@ -45,7 +45,6 @@ prepare() {
}

build() {
cd "$srcdir/${_pkgname}-${pkgver//_/-}/src"
[[ -d "${srcdir}"/build-${CARCH} ]] && rm -rf "${srcdir}"/build-${CARCH}
mkdir -p "${srcdir}"/build-${CARCH} && cd "${srcdir}"/build-${CARCH}
declare -a extra_config
Expand All @@ -61,7 +60,7 @@ build() {
-DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX} \
"${extra_config[@]}" \
-DBUILD_{SHARED,STATIC}_LIBS=ON \
"$srcdir/${_pkgname}-${pkgver//_/-}/src"
"${srcdir}/${_pkgname}-${pkgver//_/-}/src"
make
}

Expand Down

0 comments on commit 16c1381

Please sign in to comment.