summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 139ce0e7c037797a7cccd910854a57ad6a5200da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Nicholas Georgescu <nsg27@case.edu>

pkgname=todoist-appimage-integration
pkgver=1.0
pkgrel=1
pkgdesc="Integrates Todoist AppImage with the system using AppImageLauncher"
arch=('any')
depends=('todoist-appimage')
optdepends=('appimagelauncher: to integrate Todoist AppImage into the system')
source=()
noextract=()
md5sums=()

package() {
    if command -v ail-cli &> /dev/null && command -v todoist &> /dev/null; then
        ail-cli integrate $(which todoist)
    else
        echo "Ensure both appimagelauncher and todoist-appimage are installed."
    fi
}