diff options
author | sl1pkn07 | 2015-12-25 23:23:24 +0100 |
---|---|---|
committer | sl1pkn07 | 2015-12-25 23:23:24 +0100 |
commit | a3bad182ffe758ff4384ae826a551865ed7fbf11 (patch) | |
tree | 0461dbe72141e0056a9d7a3bd1cbbe52d7ae054e | |
parent | cd1dc4234d3aff77cfadd0e6a291698f2c1bfbcc (diff) | |
download | aur-a3bad182ffe758ff4384ae826a551865ed7fbf11.tar.gz |
update PKGBUILD
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,5 @@ +# Generated by mksrcinfo v8 +# Fri Dec 25 22:22:52 UTC 2015 pkgbase = vapoursynth-plugin-templinearapproximate-git pkgdesc = Plugin for Vapoursynth: templinearapproximate (GIT version) pkgver = r3.3.g540e788 @@ -24,7 +24,9 @@ pkgver() { prepare() { echo "all: - gcc -o lib${_plug}.so ${CFLAGS} ${LDFLAGS} $(pkg-config --cflags vapoursynth) -fPIC -shared ${_plug}/src/main.c ${_plug}/src/processplane.c" > Makefile + gcc -c -fPIC ${CFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) -o main.o ${_plug}/src/main.c + gcc -c -fPIC ${CFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) -o processplane.o ${_plug}/src/processplane.c + gcc -shared -fPIC ${LDFLAGS} -o lib${_plug}.so main.o processplane.o" > Makefile } build() { @@ -34,6 +36,6 @@ build() { package(){ install -Dm755 "lib${_plug}.so" "${pkgdir}/usr/lib/vapoursynth/lib${_plug}.so" install -Dm644 "${_plug}/MCDenoise.py" "${pkgdir}${_sites_packages}/MCDenoise.py" - install -Dm644 "${_plug}/TempLinearApproximate-readme.txt" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README" + install -Dm644 "${_plug}/TempLinearApproximate-readme.txt" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/readme.txt" install -Dm644 "${_plug}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |