diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6d2e4b0b446f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> + +_plug=continuityfixer +pkgname=vapoursynth-plugin-${_plug}-git +pkgver=v6.0.gf1bc9a9 +pkgrel=1 +pkgdesc="Plugin for Vapoursynth: ${_plug}" +arch=('i686' 'x86_64') +url="http://forum.doom9.org/showthread.php?t=171785" +license=('GPL') +depends=('vapoursynth') +makedepends=('git') +provides=("vapoursynth-plugin-${_plug}") +conflicts=("vapoursynth-plugin-${_plug}") +source=("${_plug}::git+https://github.com/MonoS/VS-ContinuityFixer.git") +sha1sums=('SKIP') + +pkgver() { + cd "${_plug}" + echo "$(git describe --long --tags | tr - . | tr V v)" +} + +prepare() { + cd "${_plug}" + echo "all: + g++ -shared ${CFLAGS} -msse2 -mfpmath=sse -Wall -fPIC -o lib${_plug}.so continuity.cpp -I. $(pkg-config --cflags vapoursynth)" > Makefile +} + +build() { + cd "${_plug}" + make +} + +package(){ + cd "${_plug}" + install -Dm755 "lib${_plug}.so" "${pkgdir}/usr/lib/vapoursynth/lib${_plug}.so" + install -Dm644 README.md "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README" +} |