A simple application to install VasakOS in your PC. A guided installation process to install VasakOS in your PC.
Componere depends on the following packages:
To start Application, run the following steps:
- Clone the repository
git clone [email protected]:Vasak-OS/componere.git
- Move to the directory
cd componere
- Install dependencies and Build UI
cd ui/
yarn install
yarn build
cd ..
- Start Application
python componere.py --webEngineArgs --remote-debugging-port=3030 --remote-allow-origins=http://127.0.0.1:3030 # --debug
python componere.py # normal mode
# Maintainer: Your Name <your_email@domain>
pkgname=componere
pkgver=0.0.1
pkgrel=1
pkgdesc="PKGBUILD template for VSK Apps"
url="https://github.com/Vasak-OS/$pkgname/"
depends=(
'python-libvasak'
'libvasak-bootstrap'
'libvasak-ui'
)
makedepends=(
'nodejs'
)
license=('GPL')
arch=('x86_64')
md5sums=('68c81dfe3a33b44ea3c88451fccdc159')
source=("$url/archive/refs/tags/$pkgver.tar.gz")
package() {
cd $pkgname-$pkgver
install -dm755 "${pkgdir}/usr/share/${pkgname}/"
install -d "${pkgdir}/bin"
cd "${pkgdir}/usr/share/${pkgname}/ui" && npm i && npm run build
cp -r "${srcdir}/${pkgname}-${pkgver}/src/*" "${pkgdir}/usr/share/${pkgname}/src/"
cp -r "${srcdir}/${pkgname}-${pkgver}/ui/dist/*" "${pkgdir}/usr/share/${pkgname}/ui/dist/"
cp "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/share/${pkgname}/"
cp "${srcdir}/${pkgname}-${pkgver}/${pkgname}.py" "${pkgdir}/usr/share/${pkgname}/"
chmod a+x "${pkgdir}/usr/share/${pkgname}/${pkgname}"
ln -sf "/usr/share/${pkgname}/${pkgname}" "${pkgdir}/bin/${pkgname}"
}