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

Antonio Rojas arojas at archlinux.org
Mon Jun 7 17:02:27 UTC 2021


    Date: Monday, June 7, 2021 @ 17:02:27
  Author: arojas
Revision: 417299

Install appstream metadata (FS#71134)

Modified:
  lyx/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-07 16:51:19 UTC (rev 417298)
+++ PKGBUILD	2021-06-07 17:02:27 UTC (rev 417299)
@@ -3,7 +3,7 @@
 
 pkgname=lyx
 pkgver=2.3.6.1
-pkgrel=1
+pkgrel=2
 pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end"
 arch=('x86_64')
 url="https://www.lyx.org"
@@ -34,7 +34,10 @@
 package() {
   cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
-  # install default config file
+# install appdata
+  install -Dm644 lib/appdata.xml "$pkgdir"/usr/share/metainfo/lyx.appdata.xml
+
+# install default config file
   install -Dm644 "${srcdir}/lyxrc.dist" "${pkgdir}/etc/lyx/lyxrc.dist"
   ln -sf /etc/lyx/lyxrc.dist "${pkgdir}/usr/share/lyx/lyxrc.dist"
 }



More information about the arch-commits mailing list