Fix PKGBUILD, add overlayfs-tools

This commit is contained in:
Rudra Saraswat 2023-04-25 21:11:01 +05:30
parent dbb31c3e87
commit 92115c2294

View file

@ -2,14 +2,14 @@
pkgbase=blend-git pkgbase=blend-git
pkgname=('blend-git' 'blend-settings-git') pkgname=('blend-git' 'blend-settings-git')
pkgver=r35.1a18d5f pkgver=r42.158cc38
pkgrel=1 pkgrel=1
_electronversion=22 _electronversion=22
pkgdesc="A package manager for blendOS" pkgdesc="A package manager for blendOS"
arch=('x86_64' 'i686') arch=('x86_64' 'i686')
url="https://github.com/blend-os/blend" url="https://github.com/blend-os/blend"
license=('GPL3') license=('GPL3')
makedepends=("electron${_electronversion}" 'git' 'npm') makedepends=("electron${_electronversion}" 'git' 'npm' 'base-devel')
source=('git+https://github.com/blend-os/blend.git' source=('git+https://github.com/blend-os/blend.git'
'blend-settings.desktop' 'blend-settings.desktop'
'blend-settings' 'blend-settings'
@ -38,6 +38,7 @@ build() {
npm run icons npm run icons
npm run pack -- -c.electronDist=${electronDist} \ npm run pack -- -c.electronDist=${electronDist} \
-c.electronVersion=${electronVer} --publish never -c.electronVersion=${electronVer} --publish never
cd ../overlayfs-tools; make
} }
package_blend-git() { package_blend-git() {
@ -50,13 +51,12 @@ package_blend-git() {
"${pkgname%-git}" \ "${pkgname%-git}" \
"init-${pkgname%-git}" \ "init-${pkgname%-git}" \
"host-${pkgname%-git}" \ "host-${pkgname%-git}" \
"${pkgname%-git}-system" \
"${pkgname%-git}-files" \ "${pkgname%-git}-files" \
-t "${pkgdir}"/usr/bin/ -t "${pkgdir}"/usr/bin/
install -Dm755 "overlayfs-tools/overlayfs-tools" -t \
"${pkgdir}/usr/bin/"
install -Dm644 ../"${pkgname%-git}.sh" -t \ install -Dm644 ../"${pkgname%-git}.sh" -t \
"${pkgdir}"/etc/profile.d/ "${pkgdir}"/etc/profile.d/
install -Dm644 "${pkgname%-git}-system.service" -t \
"${pkgdir}"/usr/lib/systemd/system/
install -Dm644 "${pkgname%-git}-files.service" -t \ install -Dm644 "${pkgname%-git}-files.service" -t \
"${pkgdir}"/usr/lib/systemd/user/ "${pkgdir}"/usr/lib/systemd/user/
install -Dm644 "${pkgname%-git}.hook" \ install -Dm644 "${pkgname%-git}.hook" \