summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsl1pkn072015-12-25 23:43:14 +0100
committersl1pkn072015-12-25 23:43:14 +0100
commit54049f9fbc467d811e0b2dfc96984e69ada76537 (patch)
tree7a23fa687c616e1b819c7fd4b9754feed1a3b596
parentcedc5331ab71fe3458c247b3ae08299207558ecf (diff)
downloadaur-54049f9fbc467d811e0b2dfc96984e69ada76537.tar.gz
better
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 134f44b973f..ff1d4f13a71 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 44cc23865d8..75f606e566c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}