-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPKGBUILD
More file actions
27 lines (24 loc) · 1.04 KB
/
Copy pathPKGBUILD
File metadata and controls
27 lines (24 loc) · 1.04 KB
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
pkgname=snd-dante-pcie-dkms
pkgver=0.0.1
pkgrel=1
pkgdesc="ALSA kernel driver for Digigram LX-DANTE / Audinate Dante PCIe cards"
arch=('x86_64')
url="https://github.com/chris-ritsen/snd-dante-pcie"
license=('GPL')
depends=('dkms')
optdepends=('python-numpy: dante-live.py dashboard')
provides=('snd-dante-pcie')
conflicts=('dante-pcie-dkms')
source=("$pkgname-$pkgver.tar.gz::https://github.com/chris-ritsen/snd-dante-pcie/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('SKIP')
package() {
cd "snd-dante-pcie-$pkgver"
local dkms_dir="$pkgdir/usr/src/snd-dante-pcie-$pkgver"
install -Dm644 snd-dante-pcie.c "$dkms_dir/snd-dante-pcie.c"
install -Dm644 Makefile "$dkms_dir/Makefile"
install -Dm644 dkms.conf "$dkms_dir/dkms.conf"
install -Dm755 dante-live.py "$pkgdir/usr/bin/dante-live"
install -Dm644 docs/observed_fpga_behavior.md "$pkgdir/usr/share/doc/$pkgname/observed_fpga_behavior.md"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}