[arch-commits] Commit in spice-vdagent/repos/community-x86_64 (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sun Mar 14 16:28:26 UTC 2021
Date: Sunday, March 14, 2021 @ 16:28:25
Author: bgyorgy
Revision: 891230
archrelease: copy trunk to community-x86_64
Added:
spice-vdagent/repos/community-x86_64/PKGBUILD
(from rev 891229, spice-vdagent/trunk/PKGBUILD)
Deleted:
spice-vdagent/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 42 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-14 16:28:18 UTC (rev 891229)
+++ PKGBUILD 2021-03-14 16:28:25 UTC (rev 891230)
@@ -1,49 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: mutantmonkey <aur at mutantmonkey.in>
-
-pkgname=spice-vdagent
-pkgver=0.20.0+6+g8adf50d
-pkgrel=1
-pkgdesc="Spice agent for Linux guests"
-arch=('x86_64')
-url="https://www.spice-space.org/"
-license=('GPL')
-depends=('alsa-lib' 'dbus' 'glib2' 'gtk3' 'libdrm' 'libpciaccess' 'libxfixes' 'libxinerama' 'libxrandr' 'systemd')
-makedepends=('spice-protocol' 'git')
-checkdepends=('procps-ng')
-backup=('etc/conf.d/spice-vdagentd')
-_commit=8adf50de9ae6714e7a994aba7f6efa9f9528471e # master
-source=("git+https://gitlab.freedesktop.org/spice/linux/vd_agent.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd vd_agent
- git describe --tags | sed 's/^spice-vdagent-//;s/-/+/g'
-}
-
-prepare() {
- cd vd_agent
- sed -i 's|/etc/sysconfig/spice-vdagentd|/etc/conf.d/spice-vdagentd|
- s|/usr/sbin/spice-vdagentd|/usr/bin/spice-vdagentd|' data/spice-vdagentd.service
- sed -i 's|/etc/sysconfig/spice-vdagentd|/etc/conf.d/spice-vdagentd|' data/spice-vdagentd.1.in
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd vd_agent
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin \
- --with-session-info=systemd --with-init-script=systemd
- make
-}
-
-check() {
- make -C vd_agent check
-}
-
-package() {
- cd vd_agent
- make DESTDIR="$pkgdir" install
- rm -r "$pkgdir/var"
- install -dm755 "$pkgdir/etc/conf.d/"
- echo 'SPICE_VDAGENTD_EXTRA_ARGS=""' > "$pkgdir/etc/conf.d/spice-vdagentd"
-}
Copied: spice-vdagent/repos/community-x86_64/PKGBUILD (from rev 891229, spice-vdagent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-14 16:28:25 UTC (rev 891230)
@@ -0,0 +1,42 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: mutantmonkey <aur at mutantmonkey.in>
+
+pkgname=spice-vdagent
+pkgver=0.21.0
+pkgrel=1
+pkgdesc="Spice agent for Linux guests"
+arch=('x86_64')
+url="https://www.spice-space.org/"
+license=('GPL')
+depends=('alsa-lib' 'dbus' 'glib2' 'gtk3' 'libdrm' 'libpciaccess' 'libxfixes' 'libxinerama' 'libxrandr' 'systemd')
+makedepends=('spice-protocol' 'git')
+checkdepends=('procps-ng')
+backup=('etc/conf.d/spice-vdagentd')
+source=("https://www.spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2")
+sha256sums=('fd575fd23c54fa5a7ff5d66069638510a669c332c5f86082cfb39a7d03a31259')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's|/etc/sysconfig/spice-vdagentd|/etc/conf.d/spice-vdagentd|
+ s|/usr/sbin/spice-vdagentd|/usr/bin/spice-vdagentd|' data/spice-vdagentd.service
+ sed -i 's|/etc/sysconfig/spice-vdagentd|/etc/conf.d/spice-vdagentd|' data/spice-vdagentd.1.in
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin \
+ --with-session-info=systemd --with-init-script=systemd
+ make
+}
+
+check() {
+ make -C $pkgname-$pkgver check || : # test-session-info fails
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir/var"
+ install -dm755 "$pkgdir/etc/conf.d/"
+ echo 'SPICE_VDAGENTD_EXTRA_ARGS=""' > "$pkgdir/etc/conf.d/spice-vdagentd"
+}
More information about the arch-commits
mailing list