summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 36b55e6861c1d88f0f1fee169ed1ccb2a6c34fbe (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
# Maintainer: Konrad Malik (https://konradmalik.github.io/)

pkgname=evernote-bin
pkgver=10.7.6
buildver=2330
pkgrel=1
pkgdesc="Official Evernote client for Linux"
arch=('x86_64')
url="https://evernote.com/"
license=('custom')
provides=('evernote')
depends=(
    'gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils'
    'at-spi2-core' 'util-linux-libs' 'libappindicator-gtk3' 'libsecret'
)
optdepends=('gnome-keyring: for credentials persistence after reboot')
conflicts=('evernote-beta-bin' 'evernote-for-linux-bin')
replaces=()
install=$pkgname.install
source=(
    "https://cdn1.evernote.com/boron/linux/builds/Evernote-${pkgver}-linux-ddl-ga-${buildver}.deb"
    )
noextract=("Evernote-${pkgver}-linux-ddl-ga-${buildver}.deb")
sha256sums=(
    '14a920801f8865dadbc5a1544e8051bb0b7bb66535575459f4f372d89170342f'
)

package() {
    # extract only data
    bsdtar -O -xf "Evernote-${pkgver}-linux-ddl-ga-${buildver}.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
}