[arch-commits] Commit in gnome-user-share/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Sep 12 22:19:06 UTC 2019


    Date: Thursday, September 12, 2019 @ 22:19:05
  Author: heftig
Revision: 362370

3.34.0-1

Modified:
  gnome-user-share/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-12 22:16:03 UTC (rev 362369)
+++ PKGBUILD	2019-09-12 22:19:05 UTC (rev 362370)
@@ -1,18 +1,17 @@
 # Contributor: Roman Kyrylych <roman at archlinux.org>
 
 pkgname=gnome-user-share
-pkgver=3.32.0.1
+pkgver=3.34.0
 pkgrel=1
 pkgdesc="Easy to use user-level file sharing for GNOME"
 arch=(x86_64)
-url="https://git.gnome.org/browse/gnome-user-share"
+url="https://gitlab.gnome.org/GNOME/gnome-user-share"
 license=(GPL)
 depends=(mod_dnssd dconf gtk3 libnotify libcanberra)
-makedepends=(libnautilus-extension itstool docbook-xsl gnome-common git)
-options=(!emptydirs)
+makedepends=(libnautilus-extension git meson yelp-tools)
 groups=(gnome)
-_commit=10db229931064c8355cbbf12f3e90a4c6d8933eb  # tags/GNOME_USER_SHARE_3_32_0_1^0
-source=("git+https://git.gnome.org/browse/gnome-user-share#commit=$_commit")
+_commit=6f5213ad76e78f0ea3040610ce9fa94a59505913  # tags/GNOME_USER_SHARE_3_34_0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-user-share.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
@@ -22,20 +21,20 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --libexecdir=/usr/lib \
-      --localstatedir=/var \
-      --with-httpd=/usr/bin/httpd \
-      --with-modules-path=/usr/lib/httpd/modules
-  make
+  arch-meson $pkgname build \
+    -D httpd=/usr/bin/httpd \
+    -D modules_path=/usr/lib/httpd/modules \
+    -D nautilus_extension=true
+  ninja -C build
 }
 
+check() {
+  meson test -C build --print-errorlogs
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }



More information about the arch-commits mailing list