Remove uneeed vscode folder
parent
bb92556260
commit
ca81043572
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = joplin
|
pkgbase = joplin
|
||||||
pkgdesc = Joplin - a note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS.
|
pkgdesc = Joplin - a note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS.
|
||||||
pkgver = 1.0.170
|
pkgver = 1.0.170
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://joplin.cozic.net
|
url = https://joplin.cozic.net
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = i686
|
arch = i686
|
||||||
|
|
7
PKGBUILD
7
PKGBUILD
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
pkgname=joplin
|
pkgname=joplin
|
||||||
pkgver=1.0.170
|
pkgver=1.0.170
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Joplin - a note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS."
|
pkgdesc="Joplin - a note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS."
|
||||||
arch=("x86_64" "i686")
|
arch=("x86_64" "i686")
|
||||||
makedepends=("git" "nodejs" "rsync" "npm" "python")
|
makedepends=("git" "nodejs" "rsync" "npm" "python")
|
||||||
|
@ -49,6 +49,9 @@ build() {
|
||||||
# NOTE: Manually forcing sqlite 4.0.7 for node v12, remove later on
|
# NOTE: Manually forcing sqlite 4.0.7 for node v12, remove later on
|
||||||
npm install sqlite3@4.0.7
|
npm install sqlite3@4.0.7
|
||||||
npm install
|
npm install
|
||||||
|
# Remove uneeed .vscode path that comes with it
|
||||||
|
rm -r node_modules/sqlite3/.vscode
|
||||||
|
|
||||||
rsync -a --delete "${srcdir}/${pkgname}-${pkgver}/ReactNativeClient/lib/" \
|
rsync -a --delete "${srcdir}/${pkgname}-${pkgver}/ReactNativeClient/lib/" \
|
||||||
"${srcdir}/${pkgname}-${pkgver}/ElectronClient/app/lib/"
|
"${srcdir}/${pkgname}-${pkgver}/ElectronClient/app/lib/"
|
||||||
npm run compile
|
npm run compile
|
||||||
|
@ -63,6 +66,8 @@ package() {
|
||||||
"${pkgdir}/usr/share/${pkgname}-cli"
|
"${pkgdir}/usr/share/${pkgname}-cli"
|
||||||
cp -R "${srcdir}/${pkgname}-${pkgver}/CliClient/node_modules" \
|
cp -R "${srcdir}/${pkgname}-${pkgver}/CliClient/node_modules" \
|
||||||
"${pkgdir}/usr/share/${pkgname}-cli"
|
"${pkgdir}/usr/share/${pkgname}-cli"
|
||||||
|
rm -r "${pkgdir}/usr/share/${pkgname}-cli/"
|
||||||
|
# usr/share/joplin/resources/app/node_modules/sqlite3/.vscode
|
||||||
cp -R "${srcdir}/${pkgname}-${pkgver}/ElectronClient/app/dist/linux-unpacked/"* \
|
cp -R "${srcdir}/${pkgname}-${pkgver}/ElectronClient/app/dist/linux-unpacked/"* \
|
||||||
"${pkgdir}/usr/share/${pkgname}"
|
"${pkgdir}/usr/share/${pkgname}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue