summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 15 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index abe80fc1af1..3f59a4ba9f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=evdi
pkgver=1.2.64
-pkgrel=2
+pkgrel=3
pkgdesc="A Linux® kernel module that enables management of multiple screens."
arch=('i686' 'x86_64')
url="https://github.com/DisplayLink/evdi"
@@ -19,26 +19,27 @@ options=()
install=$pkgname.install
changelog=$pkgname.Changelog
#source=($pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/DisplayLink/evdi/archive/v$pkgver.tar.gz)
-source=($pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/DisplayLink/evdi/archive/b7606bccc0cb9484c2845a3e556faf60ed3c0bff.tar.gz)
-md5sums=('2f229d85de2aa5c1ba6f168a0728ec9d')
+source=(b7606bccc0cb9484c2845a3e556faf60ed3c0bff.tar.gz::https://github.com/DisplayLink/evdi/archive/b7606bccc0cb9484c2845a3e556faf60ed3c0bff.tar.gz)
noextract=()
+md5sums=('2f229d85de2aa5c1ba6f168a0728ec9d')
build() {
- # We only need to build the library in this step, dmks will build the module
- cd "$pkgname-$pkgver/library"
+# We only need to build the library in this step, dmks will build the module
+mv evdi-b7606bccc0cb9484c2845a3e556faf60ed3c0bff $pkgname-$pkgver
+cd "$pkgname-$pkgver/library"
- make
+make
}
package() {
- # Predfine some target folders
- SRCDIR="$pkgdir/usr/src/$pkgname-$pkgver-$pkgrel" # This one is needed for dkms
- LIBNAME=lib$pkgname
+# Predfine some target folders
+SRCDIR="$pkgdir/usr/src/$pkgname-$pkgver" # This one is needed for dkms
+LIBNAME=lib$pkgname
+
+cd "$pkgname-$pkgver"
- cd "$pkgname-$pkgver"
+install -D -m 755 library/$LIBNAME.so $pkgdir/usr/lib/$LIBNAME.so
- install -D -m 755 library/$LIBNAME.so $pkgdir/usr/lib/$LIBNAME.so
-
- install -d $SRCDIR
- install -D -m 755 module/* $SRCDIR
+install -d $SRCDIR
+install -D -m 755 module/* $SRCDIR
}