[arch-commits] Commit in phodav (3 files)

Balló György bgyorgy at archlinux.org
Wed Jan 10 00:29:37 UTC 2018


    Date: Wednesday, January 10, 2018 @ 00:29:36
  Author: bgyorgy
Revision: 280795

archrelease: copy trunk to community-x86_64

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

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

Copied: phodav/repos/community-x86_64/PKGBUILD (from rev 280794, phodav/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2018-01-10 00:29:36 UTC (rev 280795)
@@ -0,0 +1,35 @@
+# $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"
+}



More information about the arch-commits mailing list