mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 12:04:59 +02:00
feat(users): add esr files
This commit is contained in:
@@ -1 +1,22 @@
|
||||
# Maintainer: Eshan Roy <esha@snigdhaos.org>
|
||||
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
||||
|
||||
pkgname=snigdhaos-firefox-esr
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc="Snigdha OS FireFox Config."
|
||||
arch=('any')
|
||||
license=("MIT")
|
||||
depends=('snigdhaos-tabliss-config' 'firefox-esr' 'profile-sync-daemon')
|
||||
source=("psd.conf"
|
||||
"$pkgname.tar.gz")
|
||||
install="${pkgname}.install"
|
||||
|
||||
package() {
|
||||
install -dm 755 "${pkgdir}/etc/skel/.mozilla"
|
||||
install -dm 755 "${pkgdir}/etc/skel/.config/psd"
|
||||
|
||||
cp -rf "${srcdir}/firefox-esr" "${pkgdir}/etc/skel/.mozilla"
|
||||
install -Dm644 "${srcdir}/psd.conf" "${pkgdir}/etc/skel/.config/psd/"
|
||||
}
|
||||
sha512sums=('SKIP'
|
||||
'SKIP')
|
11
snigdhaos-firefox-esr/build.sh
Normal file
11
snigdhaos-firefox-esr/build.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
sourcefiles="firefox-esr"
|
||||
|
||||
pkgname=$(grep "^pkgname=" PKGBUILD | awk -F"=" '{print $2}')
|
||||
pkgrel=$(grep "^pkgrel=" PKGBUILD | awk -F"=" '{split($2,a," ");gsub(/"/, "", a[1]);print a[1]}')
|
||||
arch=$(grep "^arch=" PKGBUILD | awk -F"'" '{print $2}')
|
||||
|
||||
tar -zcvf $pkgname.tar.gz $sourcefiles
|
70
snigdhaos-firefox-esr/psd.conf
Normal file
70
snigdhaos-firefox-esr/psd.conf
Normal file
@@ -0,0 +1,70 @@
|
||||
#
|
||||
# $XDG_CONFIG_HOME/psd/psd.conf
|
||||
#
|
||||
# For documentation, refer man 1 psd or to the wiki page
|
||||
# https://wiki.archlinux.org/index.php/Profile-sync-daemon
|
||||
|
||||
## NOTE the following:
|
||||
## To protect data from corruption, in the event that you do make an edit while
|
||||
## psd is active, any changes made will be applied the next time you start psd.
|
||||
|
||||
# Uncomment and set to "yes" to use overlayfs instead of a full copy to reduce
|
||||
# the memory costs and to improve sync/unsync operations. Note that your kernel
|
||||
# MUST have this module available in order to use this mode.
|
||||
#
|
||||
USE_OVERLAYFS="yes"
|
||||
|
||||
# Uncomment and set to "yes" to resync on suspend to reduce potential data loss.
|
||||
# Note that your system MUST have gdbus from glib2 installed to use this mode.
|
||||
#
|
||||
#USE_SUSPSYNC="no"
|
||||
|
||||
# List any browsers in the array below to have managed by psd. Useful if you do
|
||||
# not wish to have all possible browser profiles managed which is the default if
|
||||
# this array is left commented.
|
||||
#
|
||||
# Possible values:
|
||||
# chromium
|
||||
# chromium-dev
|
||||
# conkeror.mozdev.org
|
||||
# epiphany
|
||||
# falkon
|
||||
# firefox
|
||||
# firefox-trunk
|
||||
# google-chrome
|
||||
# google-chrome-beta
|
||||
# google-chrome-unstable
|
||||
# heftig-aurora
|
||||
# icecat
|
||||
# inox
|
||||
# luakit
|
||||
# midori
|
||||
# opera
|
||||
# opera-beta
|
||||
# opera-developer
|
||||
# opera-legacy
|
||||
# otter-browser
|
||||
# qupzilla
|
||||
# qutebrowser
|
||||
# palemoon
|
||||
# rekonq
|
||||
# seamonkey
|
||||
# surf
|
||||
# vivaldi
|
||||
# vivaldi-snapshot
|
||||
#
|
||||
BROWSERS=(firefox)
|
||||
|
||||
# Uncomment and set to "no" to completely disable the crash recovery feature.
|
||||
#
|
||||
# The default is to create crash recovery backups if the system is ungracefully
|
||||
# powered-down due to a kernel panic, hitting the reset switch, battery going
|
||||
# dead, etc. Some users keep very diligent backups and don't care to have this
|
||||
# feature enabled.
|
||||
#USE_BACKUPS="yes"
|
||||
|
||||
# Uncomment and set to an integer that is the maximum number of crash recovery
|
||||
# snapshots to keep (the oldest ones are deleted first).
|
||||
#
|
||||
# The default is to save the most recent 5 crash recovery snapshots.
|
||||
#BACKUP_LIMIT=5
|
7
snigdhaos-firefox-esr/snigdhaos-firefox-esr.install
Normal file
7
snigdhaos-firefox-esr/snigdhaos-firefox-esr.install
Normal file
@@ -0,0 +1,7 @@
|
||||
post_install() {
|
||||
echo -e "\n** The files have been installed in /etc/skel/.mozilla/firefox-esr **\n"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
Reference in New Issue
Block a user