blob: 4d8e62bfb67f673bfe872a14bef88cdc4bb61805 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Brandon Doornbos <b.doornbos at pm dot me>
# Co-maintainer: Benoit Brummer (Trougnouf) <trougnouf@gmail.com>
pkgname=cfait-bin
pkgver=1.1.5
pkgrel=1
pkgdesc="Powerful, fast and elegant task / TODO manager. (GUI & TUI, CalDAV & local)"
arch=('x86_64')
url="https://git.disroot.org/trougnouf/cfait"
license=('GPL-3.0-or-later')
depends=(
'gcc-libs'
'glibc'
'fontconfig' # Required by the GUI for system font discovery
'libxkbcommon' # Required by the GUI for keyboard handling (especially on Wayland)
'vulkan-icd-loader' # Required by the GUI to load Vulkan drivers for rendering
'org.freedesktop.secrets' # Required to store the CalDAV password
)
# Optional dependencies for the GUI and specific features
optdepends=(
'vulkan-driver: Required by the GUI for hardware-accelerated rendering'
'wayland: Required by the GUI for Wayland session support'
'libx11: Required by the GUI for X11 session support'
'libxcursor: Required by the GUI for X11 cursor support'
'libxi: Required by the GUI for X11 input devices'
'libxrandr: Required by the GUI for X11 monitor layout support'
'xdg-desktop-portal: Required by the GUI for the file picker (export/import)'
)
options=('!strip' '!emptydirs')
source=("${url}/releases/download/v${pkgver}/cfait-linux-v${pkgver}.tar.xz")
sha256sums=('4688bf1d47288f1df8fb07a099a53148de4ae7644c5cecf5c91998defb20830c')
replaces=('rustycal' 'rustache' 'fairouille')
provides=('cfait' 'cfait-gui')
conflicts=('cfait')
package() {
cd "cfait-linux-${pkgver}"
install -Dm755 cfait -t "${pkgdir}/usr/bin/"
install -Dm755 cfait-gui -t "${pkgdir}/usr/bin/"
install -Dm644 cfait.desktop -t "${pkgdir}/usr/share/applications/"
install -Dm644 cfait.svg -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps/"
install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|