amd-gpu-i2c-dkms-git

LOW
maintainer kokokoshka 0 votes scanned 2026-09-13 15:14:52.955091
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Ilya Chelyadin <ilya77105@gmail.com>
2
3_pkgname=amd-gpu-i2c
4pkgname="${_pkgname}-dkms-git"
5pkgver=r5.06ca41f
6pkgrel=1
7pkgdesc='AMD GPU internal I2C/SMBus bus driver'
8arch=('x86_64')
9url='https://github.com/twifty/amd-gpu-i2c'
10license=('GPL-2.0-only')
11depends=('dkms')
12makedepends=('git')
13provides=("${_pkgname}-dkms")
14conflicts=("${_pkgname}-dkms" "${_pkgname}")
15source=("${_pkgname}::git+https://github.com/twifty/amd-gpu-i2c.git"
16 'dkms.conf'
17 'amdgpu-i2c.conf')
18sha256sums=('SKIP'
19 '9191267839d18cb818959a91a4f9cae0ab9425f1ff05b474101ef120ef360214'
20 'a82419375efa45a97e28a4158613bfe9d1b54106770b771b61ccd64e8bb62186')
21
22pkgver() {
23 cd "$_pkgname"
24 printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
25}
26
27prepare() {
28 cd "$_pkgname"
29 sed -i 's/ -DDEBUG//' Makefile
30}
31
32package() {
33 local _src="$pkgdir/usr/src/${_pkgname}-${pkgver}"
34
35 install -d "$_src"
36 cp -r "$srcdir/$_pkgname/." "$_src/"
37 rm -rf "$_src/.git"
38
39 install -Dm644 "$srcdir/dkms.conf" "$_src/dkms.conf"
40
41 sed -e "s/@PKGNAME@/${_pkgname}/" \
42 -e "s/@PKGVER@/${pkgver}/" \
43 -i "$_src/dkms.conf"
44
45 install -Dm644 "$srcdir/amdgpu-i2c.conf" \
46 "$pkgdir/usr/lib/modules-load.d/amdgpu-i2c.conf"
47}
48

Scan history

Scanned at (UTC)SeverityRules
2026-09-13 15:14:52 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion