From 10e08313a5134b913b2177be0fadb15dd8c74041 Mon Sep 17 00:00:00 2001 From: Alexey Gusev Date: Fri, 28 May 2021 19:58:25 +0300 Subject: [PATCH] Add PKGBUILD --- PKGBUILD | 17 +++++++++++++++++ README.md | 8 ++++++++ 2 files changed, 25 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..bef8cc7 --- /dev/null +++ b/PKGBUILD @@ -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" +} + diff --git a/README.md b/README.md index fdf28b3..0f03c0d 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,14 @@ make # * 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 ``` mycorrhiza [OPTIONS...] WIKI_PATH