diff options
author | sl1pkn07 | 2015-12-25 23:43:14 +0100 |
---|---|---|
committer | sl1pkn07 | 2015-12-25 23:43:14 +0100 |
commit | 54049f9fbc467d811e0b2dfc96984e69ada76537 (patch) | |
tree | 7a23fa687c616e1b819c7fd4b9754feed1a3b596 /PKGBUILD | |
parent | cedc5331ab71fe3458c247b3ae08299207558ecf (diff) | |
download | aur-54049f9fbc467d811e0b2dfc96984e69ada76537.tar.gz |
better
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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" } |