1
0
Fork 0
mirror of synced 2024-11-22 18:15:37 -05:00
garuda-common-settings/PKGBUILD

44 lines
1.1 KiB
Bash
Raw Normal View History

2021-03-29 08:12:31 -04:00
# Maintainer: dr460nf1r3 <dr460nf1r3@garudalinux.org>
# Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings
2021-04-06 06:09:52 -04:00
pkgver=1.2.3
2021-03-29 08:12:31 -04:00
pkgrel=1
arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
license=('GPL')
makedepends=('coreutils')
2021-03-29 14:41:26 -04:00
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
2021-03-29 08:12:31 -04:00
sha256sums=('SKIP')
pkgdesc='Garuda Linux common settings'
depends=('garuda-icons'
'garuda-browser-settings'
'garuda-hooks'
'haveged'
'irqbalance'
'systemd-swap'
2021-04-05 08:24:17 -04:00
'nohang'
2021-03-29 08:12:31 -04:00
'prelockd'
'memavaild'
'ananicy'
'profile-sync-daemon'
'preload'
'btrfsmaintenance')
2021-04-06 06:18:00 -04:00
optdepends=('performance-tweaks')
makedepends=('polkit')
2021-03-29 08:12:31 -04:00
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/
2021-04-06 06:05:51 -04:00
chown -R root:polkitd $pkgdir/etc/polkit-1/rules.d
2021-03-29 08:12:31 -04:00
}