blob: 7c4487ad187a8bfe89c3c3d4a67956886b6c8f3c (
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: JoshuaRLi <joshua.r.li.98 at gmail com>
# Please submit comments/issues here: https://github.com/JoshuaRLi/PKGBUILDs
_execname_=standard-notes
pkgname=sn-bin
pkgver=2.2.4
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=('72a75b19778b1ec5b0ee0c5b7a75521efe53029e7cd538e0517d599acecf8250'
'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"
}
|