diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Thu Dec 24 21:48:50 UTC 2015 +# Fri Dec 25 22:42:57 UTC 2015 pkgbase = vapoursynth-plugin-inpaint-git pkgdesc = Plugin for Vapoursynth: inpaint pkgver = r2.dafa5b5 @@ -21,23 +21,26 @@ pkgver() { } prepare(){ + cd "${_plug}" rm -fr VSHelper.h VapourSynth.h sed -e 's|vapoursynth.h|VapourSynth.h|g' \ -e 's|vshelper.h|VSHelper.h|g' \ -e 's|"VapourSynth.h"|<VapourSynth.h>|g' \ -e 's|"VSHelper.h"|<VSHelper.h>|g' \ - -i inpaint/* + -i * echo "all: - g++ -c -std=gnu++11 -I. -fPIC ${CXXFLAGS} ${CPPFLAGS} $(pkg-config --cflags vapoursynth) inpaint/Inpaint.cpp -o Inpaint.o + g++ -c -std=gnu++11 -fPIC ${CXXFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) -o Inpaint.o Inpaint.cpp g++ -shared -fPIC ${LDFLAGS} -o lib${_plug}.so Inpaint.o" > Makefile } build() { + cd "${_plug}" make } package() { + cd "${_plug}" install -Dm755 "lib${_plug}.so" "${pkgdir}/usr/lib/vapoursynth/lib${_plug}.so" } |