summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPlusMinus02016-09-16 09:42:41 +0200
committerPlusMinus02016-09-16 09:42:41 +0200
commitda141acce96ff99593cb0ed81dd883b639fb9897 (patch)
treecc054a08f9faa5ce597bbe9e1263edc3e4c3a242
downloadaur-da141acce96ff99593cb0ed81dd883b639fb9897.tar.gz
Initial commit for evdi
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD41
-rw-r--r--evdi.Changelog2
-rw-r--r--evdi.install18
5 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..abfafd82b60
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Fri Sep 16 07:26:05 UTC 2016
+pkgbase = evdi
+ pkgdesc = A Linux® kernel module that enables management of multiple screens.
+ pkgver = 1.2.55
+ pkgrel = 1
+ url = https://github.com/DisplayLink/evdi
+ install = evdi.install
+ changelog = evdi.Changelog
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = dkms
+ source = evdi-1.2.55.tar.gz::https://github.com/DisplayLink/evdi/archive/v1.2.55.tar.gz
+ md5sums = 579889b974e3f1f889bf1dfa47190cea
+
+pkgname = evdi
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..b20752a93be
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.gz
+*.tar.xz
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..11211e7ad05
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: PlusMinus
+
+pkgname=evdi
+pkgver=1.2.55
+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')
+groups=()
+depends=(dkms)
+makedepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=$pkgname.install
+changelog=$pkgname.Changelog
+source=($pkgname-$pkgver.tar.gz::https://github.com/DisplayLink/evdi/archive/v$pkgver.tar.gz)
+noextract=()
+md5sums=('579889b974e3f1f889bf1dfa47190cea')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ LIBNAME=lib$pkgname
+
+ install -D -m 755 library/$LIBNAME.so $pkgdir/usr/lib/$LIBNAME/$LIBNAME.so
+ install -D -m 755 module/*.o $pkgdir/usr/lib/$LIBNAME
+
+ install -d $pkgdir/usr/include/$LIBNAME
+ install -D -m 755 module/*.h $pkgdir/usr/include/$LIBNAME
+}
diff --git a/evdi.Changelog b/evdi.Changelog
new file mode 100644
index 00000000000..96ba2936989
--- /dev/null
+++ b/evdi.Changelog
@@ -0,0 +1,2 @@
+v1.2.55
+Module and library code to be included in DisplayLink USB Graphics Software for Ubuntu, version 1.2.
diff --git a/evdi.install b/evdi.install
new file mode 100644
index 00000000000..082dbc17f60
--- /dev/null
+++ b/evdi.install
@@ -0,0 +1,18 @@
+# old version (without -$pkgrel): ${1%%-*}
+# new version (without -$pkgrel): ${2%%-*}
+
+post_install() {
+ dkms install evdi/${1%%-*}
+}
+
+pre_upgrade() {
+ pre_remove ${2%%-*}
+}
+
+post_upgrade() {
+ post_install ${1%%-*}
+}
+
+pre_remove() {
+ dkms remove evdi/${1%%-*} --all
+}