Skip to content

Commit

Permalink
Add mirror 'acpi_call' at 'a1edaf4'
Browse files Browse the repository at this point in the history
  • Loading branch information
udeved committed Jun 5, 2022
1 parent 81bf27a commit 78a2f76
Show file tree
Hide file tree
Showing 7 changed files with 124 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .braids.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
"branch": "master",
"revision": "9ae339bde045fdd7f33c22ecfa1604290a49937d"
},
"acpi_call": {
"url": "[email protected]:packagesA/acpi_call.git",
"branch": "master",
"revision": "a1edaf442071e35048b954e7b922602286573d9a"
},
"acpilight": {
"url": "[email protected]:packagesA/acpilight.git",
"branch": "master",
Expand Down
5 changes: 5 additions & 0 deletions acpi_call/.artixlinux/agent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
%YAML 1.2
---

label: master

33 changes: 33 additions & 0 deletions acpi_call/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig

pkg/
src/


# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab

# ---> systemd
*.service
*.socket
*.timer

# ---> snap
*.snap
3 changes: 3 additions & 0 deletions acpi_call/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage

PackagePipeline(new RepoPackage(this))
2 changes: 2 additions & 0 deletions acpi_call/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# acpi_call

38 changes: 38 additions & 0 deletions acpi_call/trunk/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Maintainer: Maxime Gauduin <[email protected]>
# Contributor: mortzu <[email protected]>
# Contributor: fnord0 <[email protected]>

pkgname=acpi_call
pkgver=1.2.2
pkgrel=42
pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call'
url='https://github.com/mkottman/acpi_call'
arch=('x86_64')
license=('GPL')
makedepends=('linux-headers' "acpi_call-dkms=$pkgver")
conflicts=('acpi_call-dkms')

build() {
_kernver=$(</usr/src/linux/version)

fakeroot dkms build --dkmstree "$srcdir" -m acpi_call/$pkgver -k $_kernver
}

package() {
depends=(linux)

_kernver=$(</usr/src/linux/version)

install -Dt "$pkgdir/usr/lib/modules/$_kernver/extramodules" -m0644 \
acpi_call/${pkgver}/$_kernver/$CARCH/module/*

# compress each module individually
find "$pkgdir" -name '*.ko' -exec xz -T1 {} +

echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"

mkdir -p "$pkgdir/usr/share"
cp -a /usr/share/acpi_call "$pkgdir/usr/share/$pkgname"
}

# vim:set ts=2 sw=2 et:
38 changes: 38 additions & 0 deletions acpi_call/x86_64/community/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Maintainer: Maxime Gauduin <[email protected]>
# Contributor: mortzu <[email protected]>
# Contributor: fnord0 <[email protected]>

pkgname=acpi_call
pkgver=1.2.2
pkgrel=42
pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call'
url='https://github.com/mkottman/acpi_call'
arch=('x86_64')
license=('GPL')
makedepends=('linux-headers' "acpi_call-dkms=$pkgver")
conflicts=('acpi_call-dkms')

build() {
_kernver=$(</usr/src/linux/version)

fakeroot dkms build --dkmstree "$srcdir" -m acpi_call/$pkgver -k $_kernver
}

package() {
depends=(linux)

_kernver=$(</usr/src/linux/version)

install -Dt "$pkgdir/usr/lib/modules/$_kernver/extramodules" -m0644 \
acpi_call/${pkgver}/$_kernver/$CARCH/module/*

# compress each module individually
find "$pkgdir" -name '*.ko' -exec xz -T1 {} +

echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"

mkdir -p "$pkgdir/usr/share"
cp -a /usr/share/acpi_call "$pkgdir/usr/share/$pkgname"
}

# vim:set ts=2 sw=2 et:

0 comments on commit 78a2f76

Please sign in to comment.