File tree 7 files changed +84
-7
lines changed
7 files changed +84
-7
lines changed Original file line number Diff line number Diff line change
1
+ pkgbase = multiverse-git
2
+ pkgdesc = A decentralized version control system for peer-to-peer software development.
3
+ pkgver = d945c32
4
+ pkgrel = 1
5
+ url = http://www.multiverse-vcs.com/
6
+ arch = aarch64
7
+ arch = x86_64
8
+ makedepends = git
9
+ makedepends = go>=1.16
10
+ depends = go>=1.16
11
+ provides = multiverse
12
+ source = multiverse-git::git+https://github.com/multiverse-vcs/go-multiverse
13
+ sha256sums = SKIP
14
+
15
+ pkgname = multiverse-git
16
+
Original file line number Diff line number Diff line change
1
+ pkg
2
+ src
3
+ * .pkg.tar. *
4
+ multiverse *
Original file line number Diff line number Diff line change
1
+ # Maintainer Keenan Nemetz <[email protected] >
2
+ # Maintainer teknomunk <https://github.com/teknomunk>
3
+ pkgname=multiverse-git
4
+ pkgver=678f40f
5
+ pkgrel=1
6
+ pkgdesc=" A decentralized version control system for peer-to-peer software development."
7
+ arch=(aarch64 x86_64)
8
+ url=http://www.multiverse-vcs.com/
9
+ licence=(" AGPL3" )
10
+ provides=(multiverse)
11
+ depends=(" go>=1.16" )
12
+ makedepends=(" git" " go>=1.16" )
13
+ source=(${pkgname} ::git+https://github.com/multiverse-vcs/go-multiverse)
14
+ sha256sums=(" SKIP" )
15
+ check (){
16
+ export GOPATH=${srcdir} /go
17
+ export PATH=${GOPATH} /bin:${PATH}
18
+
19
+ cd ${srcdir} /${pkgname}
20
+ make test
21
+ }
22
+ pkgver (){
23
+ cd ${srcdir} /${pkgname}
24
+ git log --format=%h -1
25
+ }
26
+ prepare (){
27
+ export GOPATH=${srcdir} /go
28
+ export PATH=${GOPATH} /bin:${PATH}
29
+
30
+ cd ${srcdir} /${pkgname}
31
+ go get golang.org/dl/go1.16
32
+ go1.16 download
33
+ }
34
+ build (){
35
+ export GOPATH=${srcdir} /go
36
+ export PATH=${GOPATH} /bin:${PATH}
37
+
38
+ cd ${srcdir} /${pkgname}
39
+ make
40
+ }
41
+ package (){
42
+ export GOPATH=${srcdir} /go
43
+ export PATH=${GOPATH} /bin:${PATH}
44
+
45
+ cd ${srcdir} /${pkgname}
46
+ make install GOBIN=${pkgdir} /usr/bin PATH=${GOPATH} /bin:${PATH}
47
+ mkdir -p ${pkgdir} /var/lib/multi/
48
+ chown 5000:5000 ${pkgdir} /var/lib/multi
49
+ install -Dm644 ${srcdir} /${pkgname} /misc/multiverse.service ${pkgdir} /usr/lib/systemd/system/multiverse.service
50
+ install -Dm644 ${srcdir} /${pkgname} /misc/multi-user.conf ${pkgdir} /usr/lib/sysusers.d/multi.conf
51
+ }
Original file line number Diff line number Diff line change 1
- GOCC = go1.16beta1
1
+ GOCC = go1.16
2
2
3
3
.PHONY : multi install test multi-cross
4
4
.PHONY : multi-darwin multi-darwin-386 multi-darwin-amd64
Original file line number Diff line number Diff line change 23
23
Go 1.16 or higher is required.
24
24
25
25
``` bash
26
- $ go get golang.org/dl/go1.16beta1
27
- $ go1.16beta1 download
26
+ $ go get golang.org/dl/go1.16
27
+ $ go1.16 download
28
28
```
29
29
30
30
Build and install from sources.
@@ -40,7 +40,7 @@ $ make install
40
40
```
41
41
USAGE:
42
42
multi [global options] command [command options] [arguments...]
43
-
43
+
44
44
COMMANDS:
45
45
branch List, create, or delete branches
46
46
commit Record changes
@@ -63,3 +63,4 @@ Multiverse follows the [Contributor Covenant](https://contributor-covenant.org/v
63
63
### License
64
64
65
65
GNU Affero General Public License v3.0
66
+
Original file line number Diff line number Diff line change
1
+ u multi 5000 "Decentralized VCS Server" /var/lib/multi
2
+ g multi 5000
3
+ m multi multi
4
+
Original file line number Diff line number Diff line change 1
1
[Unit]
2
2
Description =Multiverse daemon
3
3
After =network.target
4
- Requires =ipfs.service
5
4
6
5
[Service]
7
- ExecStart =/bin/bash -c "exec $HOME/go/bin/multi daemon"
6
+ User =multi
7
+ Group =multi
8
+ ExecStart =/usr/bin/multi daemon
8
9
Restart =always
9
10
RestartSec =5s
10
11
11
12
[Install]
12
- WantedBy =default .target
13
+ WantedBy =multi-user .target
You can’t perform that action at this time.
0 commit comments