blob: 4cfff71dfa1fe8077f65dcac05fa009e29ed4764 (
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
33
|
# Maintainer: Peter Mattern <pmattern at arcor dot de>
_pkgname=virt-viewer
pkgname=$_pkgname-git
pkgver=10.0.37.g40eec08
pkgrel=1
pkgdesc='A lightweight interface for interacting with the graphical display of virtualized guest OS'
arch=('i686' 'x86_64')
url='https://virt-manager.org'
license=('GPL')
depends=('gtk-vnc' 'libvirt-glib' 'spice-gtk' 'gobject-introspection' 'libgovirt' 'vte3' 'bash-completion')
makedepends=('git' 'meson' 'intltool' 'spice-protocol-git')
provides=("$_pkgname" 'virtviewer')
conflicts=("$_pkgname" 'virtviewer')
source=("git+https://gitlab.com/$_pkgname/$_pkgname.git")
sha256sums=("SKIP")
pkgver() {
cd $_pkgname
git describe --always | sed "s/^v//;s/-/./g"
}
build() {
mkdir build
cd $_pkgname
arch-meson ../build
ninja -v -C ../build
}
package() {
cd $_pkgname
DESTDIR="$pkgdir/" ninja -C ../build install
}
|