blob: 79fda12772fb320c5ddc8a48acccc66a4f1835c0 (
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: JoshuaRLi <joshua.r.li.98 at gmail com>
# Please submit comments/issues here: https://github.com/JoshuaRLi/PKGBUILDs
pkgname=sn-bin
pkgver=2.0.42
pkgrel=1
pkgdesc="A simple and private notes app."
arch=('x86_64')
url="https://github.com/standardnotes/desktop"
license=('GPL3')
provides=('standard-notes')
# This conflicting package is currently marked out-of-date.
conflicts=('standardnotes-desktop')
source_x86_64=("https://github.com/standardnotes/desktop/releases/download/v${pkgver}/standard-notes-${pkgver}-x86_64.AppImage"
"standard-notes.desktop"
"https://github.com/standardnotes/desktop/raw/master/app/icon/Icon-512x512.png")
sha256sums_x86_64=('55aa58ebd78a4186d190895042009047c6b346626df185ddb478b54a2098f318'
'223db296b73d1bbb1ed9f468f368cfa1a5a6fea5b0e7ded6ddbfc2bbc638fbbe'
'e61d2ea951779692dfaa515bd13fefe7faa1be2a23ffde147c29aad24cf4f070')
# An AppImage is a binary format, not an archive, so do not attempt to extract it.
noextract=("standard-notes-${pkgver}-x86_64.AppImage")
# Stripping an AppImage binary will pretty much destroy it, so tell makepkg not to do so.
options=(!strip)
package () {
install -Dm 775 "standard-notes-${pkgver}-x86_64.AppImage" "${pkgdir}/usr/bin/standard-notes"
install -Dm 644 "standard-notes.desktop" "${pkgdir}/usr/share/applications/standard-notes.desktop"
install -Dm 644 "Icon-512x512.png" "${pkgdir}/usr/share/pixmaps/standard-notes.png"
}
|