mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-20 19:45:00 +02:00
⚡️ perf: more improved script
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
pkgname=snigdhaos-brave-config
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc="Snigdha OS Brave Config!."
|
||||
pkgdesc="Snigdha OS Brave Config!"
|
||||
arch=('any')
|
||||
license=("MIT")
|
||||
depends=('snigdhaos-tabliss-config' 'brave-bin' 'gnome-keyring' 'profile-sync-daemon-brave')
|
||||
@@ -11,13 +11,17 @@ 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/"
|
||||
|
||||
cp -rf "${srcdir}/psd.conf" "${pkgdir}/etc/skel/.config/psd/"
|
||||
}
|
||||
sha512sums=('SKIP'
|
||||
'SKIP')
|
||||
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user