[arch-commits] Commit in desktop-file-utils/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Jul 26 08:22:04 UTC 2019


    Date: Friday, July 26, 2019 @ 08:22:03
  Author: heftig
Revision: 358593

0.24-1

Modified:
  desktop-file-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-26 05:32:43 UTC (rev 358592)
+++ PKGBUILD	2019-07-26 08:22:03 UTC (rev 358593)
@@ -2,15 +2,15 @@
 # Contributor: Alexander Fehr <pizzapunk gmail com>
 
 pkgname=desktop-file-utils
-pkgver=0.23+4+g92af410
+pkgver=0.24
 pkgrel=1
 pkgdesc="Command line utilities for working with desktop entries"
-arch=('x86_64')
+arch=(x86_64)
 url="https://www.freedesktop.org/wiki/Software/desktop-file-utils"
-license=('GPL')
-depends=('glib2')
-makedepends=(git)
-_commit=92af4108750ceaf4191fd54e255885c7d8a78b70  # master
+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'
@@ -27,20 +27,19 @@
   NOCONFIGURE=1 ./autogen.sh
 }
 
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr
+  make
+}
+
 check() {
   cd $pkgname
   make check
 }
 
-build() {
-  cd "${srcdir}/$pkgname"
-  ./configure --prefix=/usr
-  make
-}
-
 package() {
-  cd "${srcdir}/$pkgname"
-  make DESTDIR="${pkgdir}" install
-
-  install -Dm644 "$srcdir"/update-desktop-database.hook "$pkgdir"/usr/share/libalpm/hooks/update-desktop-database.hook
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 ../*.hook
 }



More information about the arch-commits mailing list