diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a486e079c94c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> + +_plug=tbilateral +pkgname=vapoursynth-plugin-${_plug}-git +pkgver=v2.0.g2796911 +pkgrel=1 +pkgdesc="Plugin for Vapoursynth: ${_plug} (Fork)(GIT version)" +arch=('x86_64') +url='https://github.com/dubhater/vapoursynth-tbilateral' +license=('MIT') +depends=('vapoursynth') +makedepends=('git' + 'meson' + ) +provides=("vapoursynth-plugin-${_plug}") +conflicts=("vapoursynth-plugin-${_plug}") +source=("${_plug}::git+https://github.com/dubhater/vapoursynth-tbilateral.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.rst" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/readme.rst" +} |