summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f642a843e0a07369acc2933d36b0d85a8bdf3985 (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
# Maintainer: Arsen Musayelyan <moussaelianarsen@gmail.com>
pkgname=opensend-git
pkgver=r39.07e35af
pkgrel=2
pkgdesc="Send files and securely across systems"
arch=('any')
license=('Apache-2.0')
makedepends=('go')
source=('git+https://gitea.arsenm.dev/Arsen6331/opensend.git')
md5sums=('SKIP')
backup=('etc/opensend.toml')

pkgver() {
	cd "$srcdir/opensend"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

package() {
	cd "$srcdir/opensend"
	make DESTDIR="$pkgdir" install
}