[arch-commits] Commit in libvirt-dbus/repos/community-x86_64 (PKGBUILD PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Apr 6 16:21:10 UTC 2020
Date: Monday, April 6, 2020 @ 16:21:09
Author: mtorromeo
Revision: 612062
archrelease: copy trunk to community-x86_64
Added:
libvirt-dbus/repos/community-x86_64/PKGBUILD
(from rev 612061, libvirt-dbus/trunk/PKGBUILD)
Deleted:
libvirt-dbus/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 40 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-06 16:20:56 UTC (rev 612061)
+++ PKGBUILD 2020-04-06 16:21:09 UTC (rev 612062)
@@ -1,35 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=libvirt-dbus
-pkgver=1.3.0
-pkgrel=1
-pkgdesc="Wrapper around libvirt API to provide a high-level object-oriented API better suited for dbus-based applications"
-arch=('x86_64')
-url="https://libvirt.org/dbus.html"
-license=('LGPL')
-depends=('libvirt-glib' 'dbus' 'libssh')
-validpgpkeys=('4252D86A52041137C291CADFC85C5E957062A701')
-source=("https://libvirt.org/sources/dbus/${pkgname}-${pkgver}.tar.xz"{,.asc})
-sha512sums=('44e31beedc5aeb5bcd032d3a9766b0380b2320f1ae78cbcfb316d7a9025fb33f1ff24fdc65c023f38c2408062e7d40e62392cbc756d1cf8f8644a086bc871544'
- 'SKIP')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- autoreconf -vi
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- mkdir build && cd build
- ../configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --disable-static \
- --with-runstatedir=/run
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
- make DESTDIR="${pkgdir}" install
-}
Copied: libvirt-dbus/repos/community-x86_64/PKGBUILD (from rev 612061, libvirt-dbus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-06 16:21:09 UTC (rev 612062)
@@ -0,0 +1,40 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=libvirt-dbus
+pkgver=1.3.0
+pkgrel=2
+pkgdesc="Wrapper around libvirt API to provide a high-level object-oriented API better suited for dbus-based applications"
+arch=('x86_64')
+url="https://libvirt.org/dbus.html"
+license=('LGPL')
+depends=('libvirt-glib' 'dbus' 'libssh')
+validpgpkeys=('4252D86A52041137C291CADFC85C5E957062A701')
+source=("https://libvirt.org/sources/dbus/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha512sums=('44e31beedc5aeb5bcd032d3a9766b0380b2320f1ae78cbcfb316d7a9025fb33f1ff24fdc65c023f38c2408062e7d40e62392cbc756d1cf8f8644a086bc871544'
+ 'SKIP')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ autoreconf -vi
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir build && cd build
+ ../configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --disable-static \
+ --with-runstatedir=/run
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+
+ chmod 750 "${pkgdir}/usr/share/polkit-1/rules.d"
+
+ install -dm0755 "${pkgdir}/usr/lib/sysusers.d"
+ echo "u libvirtdbus - -" > "${pkgdir}/usr/lib/sysusers.d/libvirtdbus.conf"
+}
More information about the arch-commits
mailing list