summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 670e1b0d83ed88aca93ab9aa5487399a00f60f0d (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
46
# Maintainer: Brennan Thews <brennan.thews@pm.me>
pkgname=everdo
pkgver=1.2.15
pkgrel=1
pkgdesc="The Perfect App for GTD / Getting Things Done"
arch=('x86_64')
url='https://everdo.net'
license=('unknown')

depends=(
	'c-ares' 
	'ffmpeg' 
	'gtk3'
	'http-parser' 
	'libevent' 
	'libvpx' 
	'libxslt' 
	'libxss' 
	'minizip' 
	'nss' 
	're2' 
	'snappy' 
	'libnotify' 
	'libappindicator-gtk2' 
	'libappindicator-gtk3' 
	'libappindicator-sharp'
	'gconf'
	)

source=("https://d11l8siwmn8w36.cloudfront.net/$pkgver/$pkgname-$pkgver.pacman")

package() {
    # Install the application files in /opt
    install -d "${pkgdir}/opt"
    cp -R "${srcdir}/opt/Everdo" "${pkgdir}/opt/"
    # Install the .desktop file
    install -D -m644 "${srcdir}/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
    # Install the icons
    for icon_size in 32 64 128 256 512 1024; do
        icons_dir="/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
        install -d "${pkgdir}/${icons_dir}"
        install -m644 "${srcdir}${icons_dir}/${pkgname}.png" \
                      "${pkgdir}${icons_dir}/${pkgname}.png"
    done
}
md5sums=('2c24fab9bba10dd431b25f7586d97b63')