blob: 49b3e2c52e6e09654e79a0e3f3eb545d95cb6564 (
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
|
# Maintainer: Spreagtha <spreagtha at mykolab dot com>
# Contributor: Vasket <vasket at dismail dot de>
pkgname="brig"
pkgver="0.4.1"
pkgrel="2"
pkgdesc="File synchronization on top of ipfs with git like interface and web based UI"
arch=(x86_64 i686 armv7h aarch64)
license=("AGPLv3")
url="https://github.com/sahib/${pkgname}"
depends=(go)
provides=("brig")
conflicts=("brig-git")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sahib/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=("SKIP")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
GOBIN_OLD=$GOBIN
GOBIN="${srcdir}/${pkgname}-${pkgver}"
go mod vendor
go run mage.go b
GOBIN=$GOBIN_OLD
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
|