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