summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072023-01-22 23:59:44 +0100
committersL1pKn072023-01-22 23:59:44 +0100
commit4aff49ed98d37d4b07597472fb8f45210af7e1c6 (patch)
tree8b94a8ef5dc6e682072bd37ed90434d0d8eea8f4
parenta997fb319370f56c6a23e5e0c7615cfb3c558350 (diff)
downloadaur-avisynth-plugin-removedirt-git.tar.gz
bump
-rw-r--r--PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e145711ce29..9860709b97c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,25 +25,22 @@ pkgver() {
}
prepare() {
- mkdir -p build
-
rm -fr "${_plug}/RemoveDirt/"{avs*,avi*}
}
build() {
- cd build
- CXXFLAGS+=" $(pkg-config --cflags avisynth)"
+ CXXFLAGS=" $(pkg-config --cflags avisynth)"
- cmake "../${_plug}" \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_INSTALL_PREFIX=/usr \
+ cmake -S "${_plug}" -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
- make
+ cmake --build build
}
package(){
- make -C build DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" cmake --install build
install -Dm644 "${_plug}/RemoveDirt/documentation/RemoveDirt.htm" "${pkgdir}/usr/share/doc/avisynth/plugins/${_plug}/RemoveDirt.htm"
}