[arch-commits] Commit in desktop-file-utils/repos/extra-x86_64 (4 files)

Jan Steffens heftig at archlinux.org
Sat Jun 20 07:26:12 UTC 2020


    Date: Saturday, June 20, 2020 @ 07:26:11
  Author: heftig
Revision: 389566

archrelease: copy trunk to extra-x86_64

Added:
  desktop-file-utils/repos/extra-x86_64/PKGBUILD
    (from rev 389564, desktop-file-utils/trunk/PKGBUILD)
  desktop-file-utils/repos/extra-x86_64/update-desktop-database.hook
    (from rev 389564, desktop-file-utils/trunk/update-desktop-database.hook)
Deleted:
  desktop-file-utils/repos/extra-x86_64/PKGBUILD
  desktop-file-utils/repos/extra-x86_64/update-desktop-database.hook

------------------------------+
 PKGBUILD                     |   90 ++++++++++++++++++++---------------------
 update-desktop-database.hook |   22 +++++-----
 2 files changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-20 07:26:11 UTC (rev 389565)
+++ PKGBUILD	2020-06-20 07:26:11 UTC (rev 389566)
@@ -1,45 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgname=desktop-file-utils
-pkgver=0.24
-pkgrel=2
-pkgdesc="Command line utilities for working with desktop entries"
-arch=(x86_64)
-url="https://www.freedesktop.org/wiki/Software/desktop-file-utils"
-license=(GPL)
-depends=(glib2)
-makedepends=(git emacs)
-_commit=27d370de9ca5121550c343859455d0f1515e1ec5  # tags/0.24^0
-source=("git+https://anongit.freedesktop.org/git/xdg/desktop-file-utils#commit=$_commit"
-        update-desktop-database.hook)
-sha256sums=('SKIP'
-            '501f1eb35d9fbbd61666f40302b0ce63425299edf023c075986a24dc3ef18575')
-validpgpkeys=('C01EDE5BB0D91E26D003662EC76BB9FEEAD12EA7') #Hans Petter Jansson <hpj at suse.com>
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr
-  make
-}
-
-check() {
-  cd $pkgname
-  make check
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-  install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 ../*.hook
-}

Copied: desktop-file-utils/repos/extra-x86_64/PKGBUILD (from rev 389564, desktop-file-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-20 07:26:11 UTC (rev 389566)
@@ -0,0 +1,45 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=desktop-file-utils
+pkgver=0.26
+pkgrel=1
+pkgdesc="Command line utilities for working with desktop entries"
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/desktop-file-utils"
+license=(GPL)
+depends=(glib2)
+makedepends=(git meson)
+_commit=54cec012921e52eb66b6ee1a1f40f2e9c9849f7c  # tags/0.26
+source=("git+https://gitlab.freedesktop.org/xdg/desktop-file-utils.git#commit=$_commit"
+        update-desktop-database.hook)
+sha256sums=('SKIP'
+            '501f1eb35d9fbbd61666f40302b0ce63425299edf023c075986a24dc3ef18575')
+validpgpkeys=('C01EDE5BB0D91E26D003662EC76BB9FEEAD12EA7') #Hans Petter Jansson <hpj at suse.com>
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(libglib-2.0.so)
+
+  DESTDIR="$pkgdir" meson install -C build
+  install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
+}
+
+# vim:set sw=2 et:

Deleted: update-desktop-database.hook
===================================================================
--- update-desktop-database.hook	2020-06-20 07:26:11 UTC (rev 389565)
+++ update-desktop-database.hook	2020-06-20 07:26:11 UTC (rev 389566)
@@ -1,11 +0,0 @@
-[Trigger]
-Type = Path
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/applications/*.desktop
-
-[Action]
-Description = Updating the desktop file MIME type cache...
-When = PostTransaction
-Exec = /usr/bin/update-desktop-database --quiet

Copied: desktop-file-utils/repos/extra-x86_64/update-desktop-database.hook (from rev 389564, desktop-file-utils/trunk/update-desktop-database.hook)
===================================================================
--- update-desktop-database.hook	                        (rev 0)
+++ update-desktop-database.hook	2020-06-20 07:26:11 UTC (rev 389566)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/applications/*.desktop
+
+[Action]
+Description = Updating the desktop file MIME type cache...
+When = PostTransaction
+Exec = /usr/bin/update-desktop-database --quiet



More information about the arch-commits mailing list