blob: 2ce0df40cd749d888e96c4ab6aaff949ef412185 (
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
|
pkgname=lattice-net-bin
pkgver=0.1.15
pkgrel=1
pkgdesc="Peer-to-peer web protocol CLI and daemon (prebuilt release)"
arch=('x86_64')
url="https://github.com/fordz0/lattice"
license=('GPL3')
depends=('glibc' 'gcc-libs' 'systemd')
options=(!debug)
provides=('lattice-net')
conflicts=('lattice-net' 'lattice-net-git')
install=lattice-net-bin.install
source=(
"https://github.com/fordz0/lattice/releases/download/lattice-v${pkgver}/lattice-linux-x86_64.tar.gz"
)
sha256sums=(
'89251414ce5b0aa4fe43cccd13ab0993b562aff5fc610100474990d79a7891de'
)
package() {
cd "$srcdir/lattice-linux-x86_64"
install -Dm755 "lattice" "$pkgdir/usr/bin/lattice"
install -Dm755 "lattice-daemon" "$pkgdir/usr/bin/lattice-daemon"
install -Dm755 "$startdir/restart-daemon-if-active.sh" \
"$pkgdir/usr/lib/lattice/restart-daemon-if-active.sh"
install -Dm644 "$startdir/lattice-daemon.service" \
"$pkgdir/usr/lib/systemd/user/lattice-daemon.service"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
|