diff options
Diffstat (limited to 'mandown')
-rw-r--r-- | mandown/.artixlinux/Jenkinsfile | 3 | ||||
-rw-r--r-- | mandown/.artixlinux/pkgbase.yaml | 60 | ||||
-rw-r--r-- | mandown/.artixlinux/srcinfo.yaml | 25 | ||||
-rw-r--r-- | mandown/.gitignore | 18 | ||||
-rw-r--r-- | mandown/.nvchecker.toml | 4 | ||||
-rw-r--r-- | mandown/PKGBUILD | 40 | ||||
-rw-r--r-- | mandown/README.md | 2 |
7 files changed, 152 insertions, 0 deletions
diff --git a/mandown/.artixlinux/Jenkinsfile b/mandown/.artixlinux/Jenkinsfile new file mode 100644 index 0000000..d68bca2 --- /dev/null +++ b/mandown/.artixlinux/Jenkinsfile @@ -0,0 +1,3 @@ +@Library('artix-ci@orion') import org.artixlinux.RepoPackage + +PackagePipeline(new RepoPackage(this)) diff --git a/mandown/.artixlinux/pkgbase.yaml b/mandown/.artixlinux/pkgbase.yaml new file mode 100644 index 0000000..f8a65cf --- /dev/null +++ b/mandown/.artixlinux/pkgbase.yaml @@ -0,0 +1,60 @@ +--- +actions: + addRepo: world + removeRepo: null + triggersBuild: true + triggersRebuild: false + triggersRepoAdd: true + triggersRepoRemove: false + triggersNoCheck: false +repos: + system-goblins: + version: null + packages: [] + debug: [] + system-gremlins: + version: null + packages: [] + debug: [] + system: + version: null + packages: [] + debug: [] + world-goblins: + version: null + packages: [] + debug: [] + world-gremlins: + version: null + packages: [] + debug: [] + world: + version: 1.1.0-1 + packages: + - mandown-1.1.0-1-x86_64.pkg.tar.zst + debug: [] + lib32-goblins: + version: null + packages: [] + debug: [] + lib32-gremlins: + version: null + packages: [] + debug: [] + lib32: + version: null + packages: [] + debug: [] + galaxy-goblins: + version: null + packages: [] + debug: [] + galaxy-gremlins: + version: null + packages: [] + debug: [] + galaxy: + version: null + packages: [] + debug: [] +team: world diff --git a/mandown/.artixlinux/srcinfo.yaml b/mandown/.artixlinux/srcinfo.yaml new file mode 100644 index 0000000..570f90a --- /dev/null +++ b/mandown/.artixlinux/srcinfo.yaml @@ -0,0 +1,25 @@ +--- +version: 1.1.0-1 +pkgbase: + name: mandown + pkgdesc: Create man pages from markdown markup + pkgver: 1.1.0 + pkgrel: 1 + url: https://gitlab.com/kornelski/mandown + arch: + - x86_64 + license: + - Apache-2.0 + makedepends: + - rust + - cargo + depends: + - gcc-libs + - glibc + source: + - https://gitlab.com/kornelski/mandown/-/archive/v1.1.0/mandown-v1.1.0.tar.gz + sha512sums: + - 516a7b655c8aee8e171ba8e0a23997a6cfc9cbbc60197039acc10892ebdd6a454dfb3ca9dc4b7a49856edef0b1102f2126a0ad14ff203bcbb735603627125bbe +pkgname: + - name: mandown +# generated with artixpkg 0.36.0-2-any diff --git a/mandown/.gitignore b/mandown/.gitignore new file mode 100644 index 0000000..e4912e4 --- /dev/null +++ b/mandown/.gitignore @@ -0,0 +1,18 @@ +# ---> ArchLinuxPackages +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/ + +*.service +*.timer +*.socket diff --git a/mandown/.nvchecker.toml b/mandown/.nvchecker.toml new file mode 100644 index 0000000..a118e67 --- /dev/null +++ b/mandown/.nvchecker.toml @@ -0,0 +1,4 @@ +[mandown] +source = "git" +git = "https://gitlab.com/kornelski/mandown.git" +prefix = "v" diff --git a/mandown/PKGBUILD b/mandown/PKGBUILD new file mode 100644 index 0000000..1e4802f --- /dev/null +++ b/mandown/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Jelle van der Waa <jelle@archlinux.org> + +pkgname=mandown +pkgver=1.1.0 +pkgrel=1 +arch=(x86_64) +license=('Apache-2.0') +url="https://gitlab.com/kornelski/mandown" +pkgdesc="Create man pages from markdown markup" +depends=( + gcc-libs + glibc +) +makedepends=(rust-bin) +source=(https://gitlab.com/kornelski/mandown/-/archive/v${pkgver}/mandown-v${pkgver}.tar.gz) +sha512sums=('516a7b655c8aee8e171ba8e0a23997a6cfc9cbbc60197039acc10892ebdd6a454dfb3ca9dc4b7a49856edef0b1102f2126a0ad14ff203bcbb735603627125bbe') + +prepare() { + cd "$pkgname-v$pkgver" + export RUSTUP_TOOLCHAIN=stable + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" +} + +build() { + cd "$pkgname-v$pkgver" + export RUSTUP_TOOLCHAIN=stable + export CARGO_TARGET_DIR=target + cargo build --frozen --release --all-features +} + +check() { + cd "$pkgname-v$pkgver" + export RUSTUP_TOOLCHAIN=stable + cargo test --frozen --all-features +} + +package() { + cd "$pkgname-v$pkgver" + install -vDm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin" +} diff --git a/mandown/README.md b/mandown/README.md new file mode 100644 index 0000000..9cf10ff --- /dev/null +++ b/mandown/README.md @@ -0,0 +1,2 @@ +# mandown + |