summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d7c5554986610bcd456018003eeebefbe9ebd6f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Robin Candau <antiz@archlinux.org>
# Contributor: Dimitris Kiziridis <ragouel[at]outlook[dot]com>

pkgname=dnote-server-bin
_pkgname="${pkgname%-bin}"
pkgver=2.1.1
pkgrel=1
pkgdesc="A simple command line notebook for programmers (Server)"
arch=('x86_64' 'aarch64')
url="https://www.getdnote.com/"
license=('AGPL3')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source_x86_64=("https://github.com/dnote/dnote/releases/download/server-v${pkgver}/dnote_server_${pkgver}_linux_amd64.tar.gz")
source_aarch64=("https://github.com/dnote/dnote/releases/download/server-v${pkgver}/dnote_server_${pkgver}_linux_arm64.tar.gz")
sha256sums_x86_64=('84de96c68900abddd5088a4df2b6b8331b70239baad7cc44cf814788f13ee787')
sha256sums_aarch64=('826eebfef84b0142f3daceb7790f196ec7f32e11a7b9c93163e535f7e7dcadaf')

package() {
	install -Dm 755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
	install -Dm 644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
}