[arch-commits] Commit in phodav/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Sat Mar 9 15:08:21 UTC 2019


    Date: Saturday, March 9, 2019 @ 15:08:17
  Author: bgyorgy
Revision: 438286

archrelease: copy trunk to community-x86_64

Added:
  phodav/repos/community-x86_64/PKGBUILD
    (from rev 438285, phodav/trunk/PKGBUILD)
Deleted:
  phodav/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 32 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-09 15:08:12 UTC (rev 438285)
+++ PKGBUILD	2019-03-09 15:08:17 UTC (rev 438286)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=phodav
-pkgver=2.2
-pkgrel=2
-pkgdesc="WebDav server implementation using libsoup (RFC 4918)"
-arch=('x86_64')
-url="http://wiki.gnome.org/$pkgname"
-license=('LGPL2.1')
-depends=('avahi' 'libsoup')
-makedepends=('asciidoc' 'intltool' 'xmlto')
-backup=('etc/conf.d/spice-webdavd')
-source=("http://download.gnome.org/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
-sha256sums=('080305dc9e804562f200ffc8c7d345c76754fce9cb01489dddb1b2c52c0557c1')
-
-prepare() {
-	cd $pkgname-$pkgver
-	sed -i 's|/etc/sysconfig/spice-webdavd|/etc/conf.d/spice-webdavd|
-	        s|/usr/sbin/spice-webdavd|/usr/bin/spice-webdavd|' data/spice-webdavd.service
-}
-
-build() {
-	cd $pkgname-$pkgver
-	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
-	make
-}
-
-package() {
-	cd $pkgname-$pkgver
-	make DESTDIR="$pkgdir" install
-
-	install -dm755 "$pkgdir/etc/conf.d/"
-	echo 'SPICE_WEBDAVD_EXTRA_ARGS=""' > "$pkgdir/etc/conf.d/spice-webdavd"
-}

Copied: phodav/repos/community-x86_64/PKGBUILD (from rev 438285, phodav/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-09 15:08:17 UTC (rev 438286)
@@ -0,0 +1,32 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=phodav
+pkgver=2.3
+pkgrel=1
+pkgdesc="WebDav server implementation using libsoup (RFC 4918)"
+arch=('x86_64')
+url="https://wiki.gnome.org/phodav"
+license=('LGPL2.1')
+depends=('avahi' 'libsoup')
+makedepends=('asciidoc' 'gtk-doc' 'meson' 'xmlto')
+backup=('etc/conf.d/spice-webdavd')
+source=("https://download.gnome.org/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
+sha256sums=('6ef61e624c30a42fb720ef7ade7447e9ba922d69024b0326dc072fa3362ebe59')
+
+prepare() {
+	cd $pkgname-$pkgver
+	sed -i 's|/etc/sysconfig/spice-webdavd|/etc/conf.d/spice-webdavd|
+	        s|/usr/sbin/spice-webdavd|/usr/bin/spice-webdavd|' data/spice-webdavd.service
+}
+
+build() {
+	arch-meson $pkgname-$pkgver build
+	ninja -C build
+}
+
+package() {
+	DESTDIR="$pkgdir" ninja -C build install
+
+	install -dm755 "$pkgdir/etc/conf.d/"
+	echo 'SPICE_WEBDAVD_EXTRA_ARGS=""' > "$pkgdir/etc/conf.d/spice-webdavd"
+}


More information about the arch-commits mailing list