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

pkgname=todoist-appimage-integration
pkgver=1.0
pkgrel=2
pkgdesc="Integrates Todoist AppImage with the system using AppImageLauncher"
arch=('any')
depends=('todoist-appimage' 'appimagelauncher')
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
}