Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : riot | name : riot | ||||
| version : 1.3.2 | version : 1.3.2 | ||||
| release : 39 | release : 40 | ||||
| homepage : https://riot.im/ | homepage : https://riot.im/ | ||||
| source : | source : | ||||
| - https://github.com/vector-im/riot-web/archive/v1.3.2.tar.gz : c5f8b1b015653227a5a198c01fcdf0de27628d99db83aa9b2bca88cc48fbc8ca | - https://github.com/vector-im/riot-web/archive/v1.3.2.tar.gz : c5f8b1b015653227a5a198c01fcdf0de27628d99db83aa9b2bca88cc48fbc8ca | ||||
| license : Apache-2.0 | license : Apache-2.0 | ||||
| component : network.im | component : network.im | ||||
| networking : yes | networking : yes | ||||
| summary : Electron based Matrix client built using the Matrix React SDK | summary : Electron based Matrix client built using the Matrix React SDK | ||||
| description: | | description: | | ||||
| Show All 19 Lines | build : | | ||||
| yarn build | yarn build | ||||
| node_modules/.bin/build -l --x64 --dir | node_modules/.bin/build -l --x64 --dir | ||||
| install : | | install : | | ||||
| install -dm00644 $installdir/usr/bin | install -dm00644 $installdir/usr/bin | ||||
| install -dm00644 $installdir/usr/share/riot | install -dm00644 $installdir/usr/share/riot | ||||
| cp -Rv electron_app/dist/linux-unpacked/* $installdir/usr/share/riot/ | cp -Rv electron_app/dist/linux-unpacked/* $installdir/usr/share/riot/ | ||||
| ln -sv ../share/riot/riot-web $installdir/usr/bin/riot-web | ln -sv ../share/riot/riot-web $installdir/usr/bin/riot-web | ||||
| # Install default configuration | |||||
| install -Dm00644 electron_app/riot.im/config.json $installdir/usr/share/riot/resources/webapp/ | |||||
chax: rather use install command than cp
install -Dm644 electron_app/riot.im/config.json-t… | |||||
Not Done Inline Actionsuse -Dm00644 to be consistent with rest of the package.yml chax: use -Dm00644 to be consistent with rest of the package.yml | |||||
| # Install Icons | # Install Icons | ||||
| for icon_size in 16 24 48 64 96 128 256 512 | for icon_size in 16 24 48 64 96 128 256 512 | ||||
| do | do | ||||
| install -Dm00644 electron_app/build/icons/${icon_size}x${icon_size}.png $installdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/riot-web.png | install -Dm00644 electron_app/build/icons/${icon_size}x${icon_size}.png $installdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/riot-web.png | ||||
| done | done | ||||
| # Desktop File | # Desktop File | ||||
| install -Dm00644 $pkgfiles/riot.desktop $installdir/usr/share/applications/riot.desktop | install -Dm00644 $pkgfiles/riot.desktop $installdir/usr/share/applications/riot.desktop | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
rather use install command than cp
install -Dm644 electron_app/riot.im/config.json-t $installdir/usr/share/riot/resources/webapp/