diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -2,7 +2,7 @@ _plug=tcanny pkgname=vapoursynth-plugin-${_plug}-git -pkgver=r10.0.gd309511 +pkgver=r11.0.g88c9623 pkgrel=1 pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)" arch=('i686' 'x86_64') @@ -14,6 +14,7 @@ depends=('vapoursynth' makedepends=('git' 'boost' 'opencl-headers' + 'meson' ) provides=("vapoursynth-plugin-${_plug}") conflicts=("vapoursynth-plugin-${_plug}") @@ -26,21 +27,19 @@ pkgver() { } prepare() { - cd "${_plug}" - ./autogen.sh + mkdir -p build } build() { - cd "${_plug}" - ./configure \ - --prefix=/usr \ - --libdir=/usr/lib/vapoursynth + cd build + arch-meson "../${_plug}" \ + --libdir /usr/lib/vapoursynth - make + ninja } package(){ - cd "${_plug}" - make DESTDIR="${pkgdir}" install - install -Dm644 README.md "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md" + DESTDIR="${pkgdir}" ninja -C build install + + install -Dm644 "${_plug}/README.md" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md" } |