diff options
author | Ovenoboyo | 2022-09-14 20:37:32 +0530 |
---|---|---|
committer | Ovenoboyo | 2022-09-14 20:38:50 +0530 |
commit | de0d18a7745e57392564f3422fe7a4b084effb8b (patch) | |
tree | b7f825ba7c64e59d3cfa64c4d62f20381fb06648 | |
parent | 3c2f6c903c53199e20a374977119924631ff8452 (diff) | |
download | aur-de0d18a7745e57392564f3422fe7a4b084effb8b.tar.gz |
Fix native modules
Signed-off-by: Ovenoboyo <ovenoboyo@gmail.com>
-rwxr-xr-x | .SRCINFO | 2 | ||||
-rwxr-xr-x | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = moosync pkgdesc = A simple music player pkgver = 5.0.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Moosync/Moosync arch = any license = GPL3 @@ -2,7 +2,7 @@ pkgname=moosync pkgver=5.0.1 -pkgrel=1 +pkgrel=2 pkgdesc='A simple music player' arch=('any') url='https://github.com/Moosync/Moosync' @@ -36,7 +36,9 @@ package() { cd "${srcdir}/${_sourcedirectory}/node_modules" find . -name '*.node' -exec cp --parents \{\} /"${pkgdir}/opt/Moosync/resources/app.asar.unpacked/node_modules" \; + cp -R ${srcdir}/${_sourcedirectory}/node_modules/better-sqlite3 "${pkgdir}/opt/Moosync/resources/app.asar.unpacked/node_modules/" cp -R ${srcdir}/${_sourcedirectory}/node_modules/sharp "${pkgdir}/opt/Moosync/resources/app.asar.unpacked/node_modules/" + cp -R ${srcdir}/${_sourcedirectory}/node_modules/media-controller "${pkgdir}/opt/Moosync/resources/app.asar.unpacked/node_modules/" cp -R "${_prebuiltpath}/resources/app.asar" "${pkgdir}/opt/Moosync/resources/app.asar" cp ${_prebuiltpath}/resources/app.asar.unpacked/*.js ${pkgdir}/opt/Moosync/resources/app.asar.unpacked/ |