41 lines
1.3 KiB
Bash
41 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.13.1
|
|
pkgrel=03
|
|
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=(e4a64926adef39dfa6ab3e7b1dfa20a3f55f656c11f1a98532562044a31ed5f4) # evdi-1.13.1.tar.gz
|
|
|
|
## 77ff9b1f63834313db65155274a06ddbf702e563e333cd11899ae62a5f0306d1 evdi-1.13.1-03-x86_64.pkg.tar.lz
|