summaryrefslogtreecommitdiff
path: root/go-md2man
diff options
context:
space:
mode:
Diffstat (limited to 'go-md2man')
-rw-r--r--go-md2man/.artixlinux/Jenkinsfile3
-rw-r--r--go-md2man/.artixlinux/pkgbase.yaml55
-rw-r--r--go-md2man/.gitignore18
-rw-r--r--go-md2man/.nvchecker.toml5
-rw-r--r--go-md2man/PKGBUILD28
-rw-r--r--go-md2man/README.md2
6 files changed, 111 insertions, 0 deletions
diff --git a/go-md2man/.artixlinux/Jenkinsfile b/go-md2man/.artixlinux/Jenkinsfile
new file mode 100644
index 0000000..d68bca2
--- /dev/null
+++ b/go-md2man/.artixlinux/Jenkinsfile
@@ -0,0 +1,3 @@
+@Library('artix-ci@orion') import org.artixlinux.RepoPackage
+
+PackagePipeline(new RepoPackage(this))
diff --git a/go-md2man/.artixlinux/pkgbase.yaml b/go-md2man/.artixlinux/pkgbase.yaml
new file mode 100644
index 0000000..6944007
--- /dev/null
+++ b/go-md2man/.artixlinux/pkgbase.yaml
@@ -0,0 +1,55 @@
+---
+pkgbase:
+ name: go-md2man
+ version: 2.0.7-1
+ arch:
+ - x86_64
+ pkgname:
+ - go-md2man
+actions:
+ addRepo: world
+ removeRepo: null
+ triggersBuild: true
+ triggersRebuild: false
+ triggersRepoAdd: true
+ triggersRepoRemove: false
+ triggersNoCheck: false
+repos:
+ system-goblins:
+ version: null
+ packages: []
+ system-gremlins:
+ version: null
+ packages: []
+ system:
+ version: null
+ packages: []
+ world-goblins:
+ version: null
+ packages: []
+ world-gremlins:
+ version: null
+ packages: []
+ world:
+ version: 2.0.7-1
+ packages:
+ - go-md2man-2.0.7-1-x86_64.pkg.tar.zst
+ lib32-goblins:
+ version: null
+ packages: []
+ lib32-gremlins:
+ version: null
+ packages: []
+ lib32:
+ version: null
+ packages: []
+ galaxy-goblins:
+ version: null
+ packages: []
+ galaxy-gremlins:
+ version: null
+ packages: []
+ galaxy:
+ version: null
+ packages: []
+team: world
diff --git a/go-md2man/.gitignore b/go-md2man/.gitignore
new file mode 100644
index 0000000..e4912e4
--- /dev/null
+++ b/go-md2man/.gitignore
@@ -0,0 +1,18 @@
+# ---> ArchLinuxPackages
+*.tar
+*.tar.*
+*.jar
+*.exe
+*.msi
+*.zip
+*.tgz
+*.log
+*.log.*
+*.sig
+
+pkg/
+src/
+
+*.service
+*.timer
+*.socket
diff --git a/go-md2man/.nvchecker.toml b/go-md2man/.nvchecker.toml
new file mode 100644
index 0000000..d7db575
--- /dev/null
+++ b/go-md2man/.nvchecker.toml
@@ -0,0 +1,5 @@
+[go-md2man]
+source = "github"
+github = "cpuguy83/go-md2man"
+prefix = "v"
+use_max_tag = true
diff --git a/go-md2man/PKGBUILD b/go-md2man/PKGBUILD
new file mode 100644
index 0000000..b5bc1e6
--- /dev/null
+++ b/go-md2man/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Morten Linderud <foxboron@arhlinux.org>
+# Contributor: Sébastien "Seblu" Luttringer <seblu@arhlinux.org>
+
+pkgname=go-md2man
+pkgver=2.0.7
+pkgrel=1
+pkgdesc='A markdown to manpage generator'
+arch=('x86_64')
+url='https://github.com/cpuguy83/go-md2man'
+license=('MIT')
+makedepends=('go-bin')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/cpuguy83/go-md2man/archive/v$pkgver.tar.gz")
+sha256sums=('ca3a5b57e2c01759f5a00ad2a578d034c5370fae9aa7a6c3af5648b2fc802a92')
+
+build() {
+ cd "$pkgname-$pkgver"
+ export GOFLAGS="-buildmode=pie -trimpath"
+ export CGO_LDFLAGS="$LDFLAGS"
+ go build -o go-md2man .
+ ./go-md2man -in=go-md2man.1.md -out=go-md2man.1
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm755 go-md2man "$pkgdir/usr/bin/go-md2man"
+ install -Dm755 go-md2man.1 "$pkgdir/usr/share/man/man1/go-md2man.1"
+ install -Dm755 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/go-md2man/README.md b/go-md2man/README.md
new file mode 100644
index 0000000..b856383
--- /dev/null
+++ b/go-md2man/README.md
@@ -0,0 +1,2 @@
+# go-md2man
+