42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=evdi
|
|
pkgver=1.14.1
|
|
pkgrel=01
|
|
pkgdesc="A Linux® kernel module that enables management of multiple screens."
|
|
url="https://github.com/DisplayLink/evdi"
|
|
depends=(glibc dkms libdrm) # linux-headers)
|
|
changelog=$pkgname.Changelog
|
|
source=(https://github.com/DisplayLink/evdi/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
|
|
|
|
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"
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('GPL')
|
|
|
|
sha256sums=(a5f1c10602a6219ac4b13d4f590c16e6fb65bed94f28562260c9b481b48c3828) # evdi-1.14.1.tar.gz
|
|
|
|
## 0bb736c3960526d98d9c714b7c91a6d06f100ed797104b6f841a4134e92d1c3b evdi-1.14.1-01-x86_64.pkg.tar.lz
|
|
|