summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d479b300f42bb488eb9d6ae04cbefcdea9653df4 (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
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Konstantin Shalygin <k0ste@cn.ru>

pkgname='virt-viewer'
pkgver='3.1'
pkgrel='3'
pkgdesc='Lightweight interface for interacting with the graphical display of virtualized guest OS'
arch=('any')
url='http://virt-manager.org'
depends=('spice' 'libvirt' 'libxml2' 'spice-gtk3' 'spice-protocol' 'gtk-vnc')
makedepends=('libtool' 'intltool')
license=('GPL')
source=("https://fedorahosted.org/released/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('be4e49470b650fc22513c2c01f2e13e30ee2d494d0d7b319b6f414ca781078c7')
install="${pkgname}.install"

prepare() {
  pushd "${pkgname}-${pkgver}"
  ./configure \
    --prefix=/usr \
    --bindir=/usr/bin \
    --sbindir=/usr/bin \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --libdir=/usr/lib \
    --datarootdir=/usr/share \
    --datadir=/usr/share \
    --infodir=/usr/share/info \
    --includedir=/usr/include/security \
    --with-gtk=3.0 \
    --disable-update-mimedb
  popd
}

build() {
  pushd "${pkgname}-${pkgver}"
  make
  popd
}

package() {
  pushd "${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  popd
}