Update packages

This commit is contained in:
moparisthebest
2017-03-13 12:19:25 -04:00
parent 915ad4949f
commit 34d3e06424
57 changed files with 207 additions and 625 deletions

View File

@@ -18,26 +18,26 @@ backup=()
options=()
install=$pkgname.install
changelog=$pkgname.Changelog
source=($pkgname-$pkgver.tar.gz::https://github.com/DisplayLink/evdi/archive/v$pkgver.tar.gz)
source=($pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/DisplayLink/evdi/archive/v$pkgver.tar.gz)
noextract=()
md5sums=('08b08e873f5b4f70929a126427150152')
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
cd "$pkgname-$pkgver/library"
make
make
}
package() {
# Predfine some target folders
SRCDIR="$pkgdir/usr/src/$pkgname-$pkgver" # 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 $SRCDIR
install -D -m 755 module/* $SRCDIR
install -D -m 755 library/$LIBNAME.so $pkgdir/usr/lib/$LIBNAME.so
install -d $SRCDIR
install -D -m 755 module/* $SRCDIR
}