1
0
Fork 0
mirror of synced 2024-12-23 00:28:58 -05:00
garuda-common-settings/PKGBUILD

44 lines
1.3 KiB
Bash

# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
# Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings
pkgver=1.3.1
pkgrel=1
arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
license=('GPL')
makedepends=('coreutils')
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('SKIP')
pkgdesc='Garuda Linux common settings'
depends=('btrfsmaintenance'
'garuda-browser-settings'
'garuda-hooks'
'garuda-icons'
'haveged'
'memavaild'
'preload'
'prelockd'
'profile-sync-daemon'
'zram-generator')
optdepends=('ananicy: Automatically set nice levels for apps'
'irqbalance: Better distribute load between CPUs'
'performance-tweaks: Tuning for best performance'
'powersave-tweaks: Tuning for lower power usage'
'uresourced: Allocate more ressources for the graphical user')
makedepends=('polkit')
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/etc/polkit-1/rules.d/
chown -R root:polkitd $pkgdir/etc/polkit-1/rules.d
}