blob: 11c23e2fbcf470bffea8fc7d7a8b579e14dfdfc8 (
plain)
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
|
# Maintainer: endorfina <emilia@carcosa.space>
# Contributor: Francois Menning <f.menning@pm.me>
# Contributor: mwawrzyniak <arch at cmstactical dot net>
# Contributor: PlusMinus
pkgname=evdi
pkgver=1.14.9
pkgrel=1
pkgdesc="A Linux® kernel module that enables management of multiple screens."
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/DisplayLink/evdi"
license=('GPL')
depends=(glibc dkms libdrm base-devel)
changelog=$pkgname.Changelog
source=(https://github.com/DisplayLink/evdi/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('e314fd36918be4ae1b82ad2a5c6719137643e0a24b9ca40c2df705a26546f8c2')
build() {
# We only need to build the library in this step, dkms will build the module
cd "$pkgname-$pkgver/library"
make
}
package() {
cd "$pkgname-$pkgver"
install -Dm0755 library/lib$pkgname.so "$pkgdir/usr/lib/lib$pkgname.so"
SRCDIR="$pkgdir/usr/src/$pkgname-$pkgver" # This one is needed for dkms
install -d "$SRCDIR"
find module -maxdepth 1 -type f -exec install -m0644 '{}' "$SRCDIR" \;
install -d "$SRCDIR/tests"
find module/tests -maxdepth 1 -type f -exec install -m0644 '{}' "$SRCDIR/tests" \;
}
|