summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasket2019-03-24 22:05:48 +0100
committervasket2019-03-24 22:05:48 +0100
commit2ded67d198395539d6bf45116514971f21b81696 (patch)
tree50d26ee9656176fc904f743d3002a05852d13566
parent676eba3d938bb51e1ce6df7fc73e6f369ea33722 (diff)
downloadaur-2ded67d198395539d6bf45116514971f21b81696.tar.gz
fixed use of go build, and changed to develop branch
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 808613dff39..f8d7a5e10a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 04f1baa5ccc..40b925ad931 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}"
}