1
0
Fork 0
mirror of synced 2024-11-25 03:25:36 -05:00
garuda-common-settings/PKGBUILD
2022-09-08 11:55:37 +05:30

45 lines
1.4 KiB
Bash

# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
# Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings
pkgver=2.6.7
pkgrel=1
arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
license=('GPL')
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('SKIP')
pkgdesc='Garuda Linux common settings'
depends=('btrfsmaintenance'
'garuda-bash-config'
'garuda-hooks'
'garuda-icons'
'garuda-migrations'
'garuda-update'
'garuda-wallpapers'
'profile-sync-daemon'
'zram-generator'
'systemd-oomd-defaults'
'noto-color-emoji-fontconfig')
optdepends=('garuda-browser-settings: Garuda Linux Browser settings'
'performance-tweaks: Tuning for best performance'
'powersave-tweaks: Tuning for lower power usage'
'pacutils: Required for garuda-inxi funstuff')
makedepends=('polkit')
conflicts=('systemd-swap')
backup=(etc/sudoers.d/{editor,insults,pwfeedback})
install=$pkgname.install
package() {
install -d $pkgdir/etc
cp -rf $srcdir/$pkgname-$pkgver/etc $pkgdir
install -d $pkgdir/usr
cp -rf $srcdir/$pkgname-$pkgver/usr $pkgdir
# Fix permissions
chmod -R 750 $pkgdir/etc/sudoers.d/
chmod -R 750 $pkgdir/usr/share/polkit-1/rules.d/
chown -R root:polkitd $pkgdir/usr/share/polkit-1/rules.d
}