forked from pop-os/system76-scheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
37 lines (33 loc) · 1.04 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# PKGBUILD file from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=system76-scheduler
# Original Maintainer: Donald Carr <d _at_ chaos-reins.com>
_pkgname=system76-scheduler
pkgname=${_pkgname}-taoky
pkgver=r144.3311cad
pkgrel=1
pkgdesc='system76 userspace scheduler, forked to workaround some bugs'
arch=(x86_64)
url='https://github.com/taoky/system76-scheduler'
license=('MPL-2')
depends=(bcc-tools python-bcc)
makedepends=(git rust just linux-headers pipewire)
provides=(${_pkgname})
conflicts=(${_pkgname})
# source=(".")
# sha256sums=('6d9adf1a9136956710843111a229df46b9f03f3db00017715e063711180fd93d')
install=install.sh
backup=(
'etc/system76-scheduler/assignments/default.ron'
)
pkgver() {
# cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
# cd ${_pkgname}-${pkgver}
export EXECSNOOP_PATH=/usr/bin/execsnoop-scheduler
just execsnoop=/usr/bin/execsnoop-scheduler build-release
}
package() {
# cd ${_pkgname}-${pkgver}
just sysconfdir=/usr/share rootdir=${pkgdir} install
}