[arch-commits] Commit in khal/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Thu Jul 7 22:24:58 UTC 2022
Date: Thursday, July 7, 2022 @ 22:24:57
Author: polyzen
Revision: 1248375
upgpkg: khal 0.10.5-2: Install desktop file and mutt2khal
Fixes FS#75265
Originally authored by: Max Gautier <mg at max.gautier.name>
Modified:
khal/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-07 22:23:10 UTC (rev 1248374)
+++ PKGBUILD 2022-07-07 22:24:57 UTC (rev 1248375)
@@ -4,10 +4,11 @@
# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
# Contributor: Thomas Weißschuh <thomas t-8ch de>
# Contributor: Étienne Deparis <etienne [at] depar [dot] is>
+# Contributor: Max Gautier <mg at max.gautier.name>
pkgname=khal
pkgver=0.10.5
-pkgrel=1
+pkgrel=2
pkgdesc='CLI calendar application build around CalDAV'
arch=('any')
url="https://lostpackets.de/khal/"
@@ -16,8 +17,9 @@
depends=('python-atomicwrites' 'python-click' 'python-click-log'
'python-configobj' 'python-dateutil' 'python-icalendar' 'python-pytz'
'python-pyxdg' 'python-urwid' 'python-tzlocal')
-optdepends=('python-setproctitle: Set process name'
- 'vdirsyncer: Synchronize CalDAV calendars')
+optdepends=('gawk: for mutt2khal'
+ 'python-setproctitle: to set process name'
+ 'vdirsyncer: to synchronize CalDAV calendars')
checkdepends=('python-pytest' 'python-freezegun' 'vdirsyncer')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('4eefb7ac302a26d8606db392817587a4ed94c27a15bf2ea211614a464fcf0c76')
@@ -43,7 +45,7 @@
--optimize=1 \
--root="${pkgdir}"
# executables
- install -vDm 755 bin/{i,}"${pkgname}" -t "$pkgdir/usr/bin/"
+ install -vDm 755 bin/{i,}"${pkgname}" misc/mutt2khal -t "$pkgdir/usr/bin/"
# configuration
install -vDm 644 "${pkgname}.conf.sample" \
"${pkgdir}/usr/share/doc/${pkgname}/examples/${pkgname}.conf"
@@ -59,6 +61,9 @@
"${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
_KHAL_COMPLETE=zsh_source "$pkgdir"/usr/bin/khal > \
"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+ # desktop file
+ install -vDm 644 misc/khal.desktop \
+ -t "${pkgdir}/usr/share/applications/"
# license
install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
# docs
More information about the arch-commits
mailing list