diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Sat Feb 9 18:08:10 UTC 2019 +# Sat Mar 2 19:51:37 UTC 2019 pkgbase = vapoursynth-plugin-autocrop-git pkgdesc = Plugin for Vapoursynth: autocrop (GIT version) pkgver = 0.1.5.g418189c @@ -21,18 +21,19 @@ pkgver() { } prepare() { - + cd "${_plug}" echo "all: - g++ -c -std=c++11 -Wall -fPIC ${CFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) -o autocrop.o autocrop/autocrop.cpp + g++ -c -std=c++11 -Wall -fPIC ${CFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) -o autocrop.o autocrop.cpp g++ -shared -fPIC ${LDFLAGS} -o lib${_plug}.so autocrop.o" > Makefile } build() { - make + make -C "${_plug}" } package(){ + cd "${_plug}" install -Dm755 "lib${_plug}.so" "${pkgdir}/usr/lib/vapoursynth/lib${_plug}.so" - install -Dm644 autocrop/README.md "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md" + install -Dm644 README.md "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md" } |