1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 03:36:16 +00:00

Add PKGBUILD

This commit is contained in:
Alexey Gusev 2021-05-28 19:58:25 +03:00
parent 84ff57ae66
commit 10e08313a5
2 changed files with 25 additions and 0 deletions

17
PKGBUILD Normal file
View File

@ -0,0 +1,17 @@
pkgname=mycorrhiza
pkgver=1.1.0
pkgrel=1
pkgdesc="Filesystem and git-based wiki engine written in Go using mycomarkup as its primary markup language."
arch=('x86_64' 'i686')
url="https://github.com/bouncepaw/mycorrhiza"
license=('AGPL3')
depends=('git')
source_x86_64=("$pkgname-$pkgver.tar.gz::https://github.com/bouncepaw/mycorrhiza/releases/download/v$pkgver/mycorrhiza-v$pkgver-linux-amd64.tar.gz")
source_i686=("$pkgname-$pkgver.tar.gz::https://github.com/bouncepaw/mycorrhiza/releases/download/v$pkgver/mycorrhiza-v$pkgver-linux-868.tar.gz")
md5sums_x86_64=('aa62f1c71f082332df4f67d40c8dcdbd')
md5sums_i686=('aa62f1c71f082332df4f67d40c8dcdbd')
package() {
install -Dm755 "mycorrhiza" "$pkgdir/usr/bin/mycorrhiza"
}

View File

@ -14,6 +14,14 @@ make
# * create an executable called `mycorrhiza`. Run it with path to your wiki. # * create an executable called `mycorrhiza`. Run it with path to your wiki.
``` ```
## Installing
If you use linux disto with pacman package manager (Arch, Manjaro, Garuda, etc) you can install it from PKGBUILD:
```sh
$ wget https://raw.githubusercontent.com/bouncepaw/mycorrhiza/master/PKGBUILD
$ makepkg --install
```
## Usage ## Usage
``` ```
mycorrhiza [OPTIONS...] WIKI_PATH mycorrhiza [OPTIONS...] WIKI_PATH