diff options
author | vasket | 2019-03-24 22:05:48 +0100 |
---|---|---|
committer | vasket | 2019-03-24 22:05:48 +0100 |
commit | 2ded67d198395539d6bf45116514971f21b81696 (patch) | |
tree | 50d26ee9656176fc904f743d3002a05852d13566 | |
parent | 676eba3d938bb51e1ce6df7fc73e6f369ea33722 (diff) | |
download | aur-2ded67d198395539d6bf45116514971f21b81696.tar.gz |
fixed use of go build, and changed to develop branch
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 11 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = brig-git - pkgdesc = File synchronization on top of ipfs with git like interface and web based UI - pkgver = git - pkgrel = 1 + pkgdesc = File synchronization on top of ipfs with git like interface and web based UI -- development branch + pkgver = develop + pkgrel = 2 url = https://github.com/sahib/brig arch = x86_64 arch = i686 @@ -2,9 +2,9 @@ pkgname="brig-git" _pkgname="brig" -pkgver="git" -pkgrel="1" -pkgdesc="File synchronization on top of ipfs with git like interface and web based UI" +pkgver="develop" +pkgrel="2" +pkgdesc="File synchronization on top of ipfs with git like interface and web based UI -- development branch" arch=(x86_64 i686 armv7h aarch64) license=("AGPLv3") url="https://github.com/sahib/${_pkgname}" @@ -17,12 +17,13 @@ sha256sums=("SKIP") build() { cd "${_pkgname}" - go build + git checkout develop + export GOBIN=bin/ + make } package() { - cd "${_pkgname}" - install -Dm755 "brig" "${pkgdir}/usr/bin/brig" - + cd "${_pkgname}" + install -Dm755 "${srcdir}/${_pkgname}/bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" } |