mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-07 05:05:16 +02:00

Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
28 lines
895 B
Bash
28 lines
895 B
Bash
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
|
|
|
pkgname=snigdhaos-brave-config
|
|
pkgver=1
|
|
pkgrel=1
|
|
pkgdesc="Snigdha OS Brave Config!"
|
|
arch=('any')
|
|
license=("MIT")
|
|
depends=('snigdhaos-tabliss-config' 'brave-bin' 'gnome-keyring' 'profile-sync-daemon-brave')
|
|
source=("psd.conf"
|
|
"$pkgname.tar.gz")
|
|
install="${pkgname}.install"
|
|
|
|
# Ensuring correct package installation
|
|
package() {
|
|
# Create necessary directories
|
|
install -dm 755 "${pkgdir}/etc/skel/.config/BraveSoftware"
|
|
install -dm 755 "${pkgdir}/etc/skel/.config/psd"
|
|
|
|
# Copy configuration files from source to target
|
|
cp -rf "${srcdir}/Brave-Browser" "${pkgdir}/etc/skel/.config/BraveSoftware/"
|
|
cp -rf "${srcdir}/psd.conf" "${pkgdir}/etc/skel/.config/psd/"
|
|
}
|
|
|
|
# Provide the correct checksum if needed (otherwise, SKIP is fine if you are not verifying)
|
|
sha512sums=('SKIP' # For psd.conf
|
|
'SKIP') # For $pkgname.tar.gz
|