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

Balló György bgyorgy at archlinux.org
Wed Jun 3 18:21:15 UTC 2020


    Date: Wednesday, June 3, 2020 @ 18:21:15
  Author: bgyorgy
Revision: 638448

upgpkg: mailnag 2.0.0-2: Add categories to desktop file

Modified:
  mailnag/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-03 18:21:12 UTC (rev 638447)
+++ PKGBUILD	2020-06-03 18:21:15 UTC (rev 638448)
@@ -4,7 +4,7 @@
 
 pkgname=mailnag
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Extensible mail notification daemon"
 arch=('any')
 url="https://github.com/pulb/mailnag"
@@ -22,6 +22,12 @@
   git describe --tags | sed 's/^v//;s/-/+/g'
 }
 
+prepare() {
+  cd $pkgname
+  # Add categories to desktop file
+  echo 'Categories=Network;Email;' >> data/mailnag.desktop
+}
+
 build() {
   cd $pkgname
   python setup.py build



More information about the arch-commits mailing list