diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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" } |