summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 10e857975f5146f64eb7434dfe69524753729f64 (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
# Maintainer: Aria Vesta <dev@ariavesta.com>
# Contributor: Jonathan "nekonyuu" Raffre <nk@nyuu.eu>
pkgname=inkdrop
_pkgname=inkdrop
pkgver=5.8.1
pkgrel=2
pkgdesc="The Note-taking App with Robust Markdown Editor"
arch=('x86_64')
url="https://www.inkdrop.app/"
license=('custom')
depends=('gnome-keyring' 'gtk3' 'libsecret' 'libxss' 'nss')
optdepends=('python' 'nodejs')

source=(
    'inkdrop.png'
    'inkdrop.desktop'
)
md5sums=(
    'f9c4790ca2e4463da42369533fe03781'
    'a7a5d6324a17a99cc09a58141cacd4b7'
)
source_x86_64=(${_pkgname}-${pkgver}.zip::https://d3ip0rje8grhnl.cloudfront.net/v${pkgver}/Inkdrop-${pkgver}-Linux.zip)
md5sums_x86_64=('a3cc281a0f04a9a9739e6ea91b0bbbe8')

package() {
    mkdir -p ${pkgdir}/usr/lib/inkdrop ${pkgdir}/usr/share/pixmaps ${pkgdir}/usr/share/applications ${pkgdir}/usr/bin
    cp ${srcdir}/inkdrop.png ${pkgdir}/usr/share/pixmaps
    cp ${srcdir}/inkdrop.desktop ${pkgdir}/usr/share/applications

    rm ${srcdir}/{${_pkgname}-${pkgver}.zip,inkdrop.png,inkdrop.desktop}

    cp -ar ${srcdir}/* $pkgdir/usr/lib/inkdrop
    ln -sf /usr/lib/inkdrop/inkdrop ${pkgdir}/usr/bin/inkdrop
}