[arch-commits] Commit in gssdp/trunk (PKGBUILD-1.2)

Jan Steffens heftig at archlinux.org
Fri Jan 25 09:28:15 UTC 2019


    Date: Friday, January 25, 2019 @ 09:28:14
  Author: heftig
Revision: 344742

start a PKGBUILD for 1.2

Added:
  gssdp/trunk/PKGBUILD-1.2

--------------+
 PKGBUILD-1.2 |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Added: PKGBUILD-1.2
===================================================================
--- PKGBUILD-1.2	                        (rev 0)
+++ PKGBUILD-1.2	2019-01-25 09:28:14 UTC (rev 344742)
@@ -0,0 +1,38 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=gssdp
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="A GObject-based API for handling resource discovery and announcement over SSDP"
+url="https://wiki.gnome.org/Projects/GUPnP"
+arch=(x86_64)
+license=(LGPL)
+depends=(libsoup)
+makedepends=(gobject-introspection gtk-doc vala meson git gtk3)
+optdepends=('gtk3: gssdp-device-sniffer')
+_commit=3bfce1a975693ed0c63044b23128d93ce590f0fb  # tags/gssdp-1.1.2^0
+source=("git+https://gitlab.gnome.org/GNOME/gssdp.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^gssdp-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=true
+  ninja -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}


More information about the arch-commits mailing list