blob: e944e8d15f1f33c706970911efb4cef416bca366 (
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
35
36
37
38
39
40
|
# Maintainer: Christian Bundy <christianbundy@fraction.io>
pkgname=patchbay
pkgver=8.1.0
pkgrel=1
pkgdesc="An alternative Secure Scuttlebutt client interface that is fully compatible with Patchwork"
arch=('i686' 'x86_64')
url="https://github.com/ssbc/patchbay"
license=('MIT')
depends=('libsodium' 'gtk2' 'gconf' 'python' 'electron4')
makedepends=('nodejs' 'npm' 'git')
options=(!strip)
source=(
"https://github.com/ssbc/${pkgname}/archive/v${pkgver}.zip"
'run.sh'
"${pkgname}.desktop"
)
md5sums=('ffe16e13d7aa3e957f706dbd44cc1f3b'
'abfe60313ffa85d809d349149aefebcb'
'f459479fef0987c5fa81a38b04767ffa')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
npm ci
rm -rf node_modules/electron
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -d "${pkgdir}/opt/${pkgname}"
cp -a * "${pkgdir}/opt/${pkgname}"
install -D build/icon.svg "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${pkgname}.svg"
cd "${srcdir}"
install -D run.sh "${pkgdir}/usr/bin/${pkgname}"
install -D "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
|