diff options
author | sL1pKn07 | 2023-01-22 22:38:56 +0100 |
---|---|---|
committer | sL1pKn07 | 2023-01-22 22:38:56 +0100 |
commit | 4518ee67ca000159d6cd30362775beb1d230eb7c (patch) | |
tree | a501efe1a1564b1958be928d7511f6048e3eacb1 /PKGBUILD | |
parent | 4e992eb3ecc2502d773b28cd0efdec0b53b81e90 (diff) | |
download | aur-avisynth-plugin-bilateral-git.tar.gz |
bump
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -24,23 +24,20 @@ pkgver() { echo "$(git describe --long --tags | tr - .)" } -prepare() { - mkdir -p "${_plug}/build" -} - 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" } |