diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = vapoursynth-plugin-waifu2x-w2xc-git pkgdesc = Plugin for Vapoursynth: waifu2x-w2xc (GIT version) - pkgver = r8.0.gec6da15 + pkgver = r8.1.g170bf24 pkgrel = 1 url = https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Waifu2x-w2xc arch = x86_64 @@ -3,7 +3,7 @@ _plug=waifu2x-w2xc pkgname=vapoursynth-plugin-${_plug}-git -pkgver=r8.0.gec6da15 +pkgver=r8.1.g170bf24 pkgrel=1 pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)" arch=('x86_64') @@ -27,6 +27,9 @@ pkgver() { prepare() { mkdir -p build + + # rename models folder + sed "s|models/|${_plug}-models/|g" -i "${_plug}/Waifu2x-w2xc/Waifu2x-w2xc.cpp" } build() { @@ -40,5 +43,8 @@ build() { package(){ DESTDIR="${pkgdir}" ninja -C build install + mv "${pkgdir}/usr/lib/vapoursynth/models" "${pkgdir}/usr/lib/vapoursynth/${_plug}-models" + chmod -R a+w "${pkgdir}/usr/lib/vapoursynth/${_plug}-models" + install -Dm644 "${_plug}/README.md" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README" } |