diff options
author | sL1pKn07 | 2019-02-08 19:55:34 +0100 |
---|---|---|
committer | sL1pKn07 | 2019-02-08 19:55:34 +0100 |
commit | 0b1ff9339fc0f36250d63a6f1657825fbb1f3d82 (patch) | |
tree | ac850f7f12d96b3e325bfb433cb468309a4f9693 /PKGBUILD | |
download | aur-0b1ff9339fc0f36250d63a6f1657825fbb1f3d82.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..be62fc016dcc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> + +_plug=vmaf +pkgname=vapoursynth-plugin-${_plug}-git +pkgver=r3.0.g4c6d972 +pkgrel=1 +pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)" +arch=('x86_64') +url='https://github.com/HomeOfVapourSynthEvolution/VapourSynth-VMAF' +license=('GPL') +depends=('vapoursynth' + 'vmaf' + ) +makedepends=('git' + 'meson' + ) +provides=("vapoursynth-plugin-${_plug}") +conflicts=("vapoursynth-plugin-${_plug}") +source=("${_plug}::git+https://github.com/HomeOfVapourSynthEvolution/VapourSynth-VMAF.git") +sha256sums=('SKIP') + +pkgver() { + cd "${_plug}" + echo "$(git describe --long --tags | tr - .)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + arch-meson "../${_plug}" \ + --libdir /usr/lib/vapoursynth + + ninja +} + +package(){ + DESTDIR="${pkgdir}" ninja -C build install + + install -Dm644 "${_plug}/README.md" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md" +} |