# Maintainer: endorfina # Contributor: Francois Menning # Contributor: mwawrzyniak # Contributor: PlusMinus pkgname=evdi pkgver=1.13.1 pkgrel=1 pkgdesc="A Linux® kernel module that enables management of multiple screens." arch=('i686' 'x86_64') url="https://github.com/DisplayLink/evdi" license=('GPL') depends=(glibc dkms libdrm) changelog=$pkgname.Changelog source=(https://github.com/DisplayLink/evdi/archive/v$pkgver/$pkgname-$pkgver.tar.gz) sha256sums=('e4a64926adef39dfa6ab3e7b1dfa20a3f55f656c11f1a98532562044a31ed5f4') 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" install -Dm0755 module/* "$SRCDIR" }