Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: PlusMinus
- _libname=evdi
- pkgname=$_libname-pre-release
- pkgver=1.4.1
- pkgrel=8
- 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=("$_libname=$pkgver")
- conflicts=($_libname)
- backup=()
- options=()
- install=$pkgname.install
- changelog=$pkgname.Changelog
- source=($_libname-devel.zip::https://github.com/DisplayLink/evdi/archive/devel.zip)
- md5sums=('c82e4339f957ccd74cecf40b1e615dd8')
- noextract=()
- build() {
- # We only need to build the library in this step, dkms will build the module
- cd "$_libname-devel/library"
- make
- }
- package() {
- # Predfine some target folders
- SRCDIR="$pkgdir/usr/src/$_libname-$pkgver" # This one is needed for dkms
- LIBNAME=lib$_libname
- cd "$_libname-devel"
- install -D -m 755 library/$LIBNAME.so $pkgdir/usr/lib/$LIBNAME.so
- install -d $SRCDIR
- install -D -m 755 module/* $SRCDIR
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement