summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58fc93fa54c60704f6eba1236821e7512bbc5b81 (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
# Maintainer: Primalmotion <primalmotion at pm dot me>

pkgname=netboard-git
pkgdesc="A multiplatform network clipboard sharing service"
url="https://github.com/primalmotion/netboard"
pkgver=0.0.1
pkgrel=1
license=(GPL3)
arch=(x86_64 arm64)
depends=(wl-clipboard)
makedepends=(go)
source=("${pkgname}::git+https://github.com/primalmotion/netboard"
netboard.service)
sha256sums=('SKIP'
            'fe470319810d17f929d983d1f8de2a474bcb9897e1cd1e68a33039c0d50d03e3')
provides=("netboard")
conflicts=(netboard)

build() {
	cd "${srcdir}/${pkgname}"
	make
}

package() {
	cd "${srcdir}/${pkgname}"
	mkdir -p "${pkgdir}/usr/lib/systemd/user"
	install -m 644 ../netboard.service "${pkgdir}/usr/lib/systemd/user"
	PREFIX=${pkgdir}/usr make install
}