1
0
Fork 0
mirror of synced 2024-11-22 10:05:37 -05:00
garuda-common-settings/PKGBUILD
Shrinivas Vishnu Kumbhar 3ed583ee60 fix permissions
2021-04-06 15:35:51 +05:30

42 lines
1 KiB
Bash

# Maintainer: dr460nf1r3 <dr460nf1r3@garudalinux.org>
# Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings
pkgver=1.2.1
pkgrel=2
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=('garuda-icons'
'garuda-browser-settings'
'garuda-hooks'
'haveged'
'irqbalance'
'systemd-swap'
'nohang-git'
'prelockd'
'memavaild'
'ananicy'
'profile-sync-daemon'
'preload'
'btrfsmaintenance')
optdepends=('performance-tweaks')
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
}