[arch-commits] Commit in gssdp/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:53:25 UTC 2018


    Date: Friday, November 9, 2018 @ 21:53:24
  Author: felixonmars
Revision: 338627

archrelease: copy trunk to staging-x86_64

Added:
  gssdp/repos/staging-x86_64/
  gssdp/repos/staging-x86_64/PKGBUILD
    (from rev 338626, gssdp/trunk/PKGBUILD)

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

Copied: gssdp/repos/staging-x86_64/PKGBUILD (from rev 338626, gssdp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 21:53:24 UTC (rev 338627)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=gssdp
+pkgver=1.0.2
+pkgrel=2
+pkgdesc="A GObject-based API for handling resource discovery and announcement over SSDP"
+arch=(x86_64)
+url="http://gupnp.org/"
+license=(LGPL)
+depends=(libsoup)
+makedepends=(gobject-introspection gtk3 gtk-doc vala autoconf-archive git)
+optdepends=('gtk3: gssdp-device-sniffer')
+_commit=3dd02bdef0663caf0d6749b555c9b2b2ff1934cb  # tags/gssdp-1.0.2^0
+source=("git+https://git.gnome.org/browse/gssdp#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^gssdp-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+              --disable-static --enable-gtk-doc --enable-compile-warnings=minimum
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list