blob: a88a0522892de975887b0fa1160302d2c63465bd (
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
|
# Maintainer: Joshua Li <josh@jrl.ninja>
# Please submit comments/issues here: https://github.com/JoshuaRLi/PKGBUILDs
_execname_=standard-notes
pkgname=sn-bin
pkgver=2.3.7
pkgrel=1
pkgdesc="A simple and private notes app."
arch=('x86_64')
url="https://github.com/standardnotes/desktop"
license=('GPL3')
conflicts=('standardnotes-desktop')
source_x86_64=("${url}/releases/download/v${pkgver}/${_execname_}-${pkgver}-x86_64.AppImage"
"${_execname_}.desktop"
"${url}/raw/master/app/icon/Icon-512x512.png")
sha256sums_x86_64=('e39bb38e0ee54a0891e7e0db3ce89f0b80145d4f596faba90571276f781ec5a2'
'223db296b73d1bbb1ed9f468f368cfa1a5a6fea5b0e7ded6ddbfc2bbc638fbbe'
'e61d2ea951779692dfaa515bd13fefe7faa1be2a23ffde147c29aad24cf4f070')
# An AppImage is a binary format, not an archive, so do not attempt to extract it.
noextract=("${_execname_}-${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 "${_execname_}-${pkgver}-x86_64.AppImage" "${pkgdir}/usr/bin/${_execname_}"
install -Dm 644 "${_execname_}.desktop" "${pkgdir}/usr/share/applications/${_execname_}.desktop"
install -Dm 644 "Icon-512x512.png" "${pkgdir}/usr/share/pixmaps/${_execname_}.png"
}
|