summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd8547401c848faa5173409a0474de6442770b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: MoetaYuko <loli at yuko.moe>

pkgname=systemd-oomd-defaults
_commit='8117c94f49e01aede06986f36a7d0986328fd469'
pkgver=249.7
pkgrel=1
pkgdesc="Configuration files for systemd-oomd"
url="https://src.fedoraproject.org/rpms/systemd"
arch=('any')
license=('LGPL2.1')
depends=('systemd')
makedepends=('git')
source=(git+https://src.fedoraproject.org/rpms/systemd.git#commit=${_commit})
md5sums=('SKIP')

package() {
  cd systemd
  install -Dm0644 -t "$pkgdir"/usr/lib/systemd/oomd.conf.d/ 10-oomd-defaults.conf
  install -Dm0644 -t "$pkgdir"/usr/lib/systemd/system/-.slice.d/ 10-oomd-root-slice-defaults.conf
  install -Dm0644 -t "$pkgdir"/usr/lib/systemd/system/user@.service.d/ 10-oomd-user-service-defaults.conf
}