diff options
author | sL1pKn07 | 2023-01-22 22:37:48 +0100 |
---|---|---|
committer | sL1pKn07 | 2023-01-22 22:37:48 +0100 |
commit | 6525375a2eaa8f6381ca7a7dc728babaaa6a44fd (patch) | |
tree | c89f3bc12ab9dd85b88ea1a7d0a7a44c6228ddda | |
parent | 162671871436b4cb6399c0cd05368954aa83cff1 (diff) | |
download | aur-6525375a2eaa8f6381ca7a7dc728babaaa6a44fd.tar.gz |
bump
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -29,18 +29,19 @@ prepare() { } build() { - cd "${_plug}/build" + cd "${_plug}" + + CXXFLAGS+=" $(pkg-config --cflags avisynth)" - CXXFLAGS+=" $(pkg-config --cflags avisynth)" \ - cmake .. \ + cmake -S . -B build \ -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_PREFIX=/usr - make + cmake --build build } package(){ - make -C "${_plug}/build" DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" cmake --install "${_plug}/build" install -Dm644 "${_plug}/README.md" "${pkgdir}/usr/share/doc/avisynth/plugins/${_plug}/README.md" } |