diff options
author | sL1pKn07 | 2018-08-03 00:52:30 +0200 |
---|---|---|
committer | sL1pKn07 | 2018-08-03 00:52:30 +0200 |
commit | 7554fc36be5053648f9d2df8c18bde45135c0a86 (patch) | |
tree | 523f746bc0759e519feb48058c5d070baf3c64c8 /PKGBUILD | |
download | aur-7554fc36be5053648f9d2df8c18bde45135c0a86.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..08b6b1ca60e1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> + +_plug=motionmask +pkgname=vapoursynth-plugin-${_plug}-git +pkgver=v2.0.g5de6eb3 +pkgrel=1 +pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)" +arch=('i686' 'x86_64') +url="https://github.com/dubhater/vapoursynth-${_plug}" +license=('GPL') +depends=('vapoursynth') +makedepends=('git' + 'meson' + ) +provides=("vapoursynth-plugin-${_plug}") +conflicts=("vapoursynth-plugin-${_plug}") +source=("${_plug}::git+https://github.com/dubhater/vapoursynth-${_plug}.git") +sha256sums=('SKIP') + +pkgver() { + cd "${_plug}" + echo "$(git describe --long --tags | tr - .)" +} + +prepare() { + mkdir -p build + + cd build + arch-meson "../${_plug}" \ + --libdir /usr/lib/vapoursynth + +} + +build() { + ninja -C build +} + +package(){ + DESTDIR="${pkgdir}" ninja -C build install + install -Dm644 "${_plug}/readme.rst" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/readme.rst" +} + |