blob: 35c6b024d1c3621e2ae69583f7418f8f1e9cff9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
_srcname=kmsvnc
pkgname=${_srcname}
pkgver=0.0.6
pkgrel=1
pkgdesc="A VNC server for DRM/KMS capable GNU/Linux devices"
arch=('x86_64')
url='https://github.com/isjerryxiao/kmsvnc'
license=('GPL-3.0-only')
depends=('libvncserver' 'libxkbcommon' 'libdrm' 'libva')
makedepends=('git' 'cmake')
source=("${_srcname}::git+${url}.git#tag=v$pkgver")
sha256sums=('SKIP')
prepare() {
cd "$srcdir/${_srcname}"
mkdir -p build
}
build() {
cd "$srcdir/${_srcname}"
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "$srcdir/${_srcname}"
cd build
make DESTDIR="$pkgdir/" install
}
|