Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s-nail 14.9.25: new package #33185

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions s-nail.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
package:
name: s-nail
version: 14.9.25
epoch: 1
bakoontz2 marked this conversation as resolved.
Show resolved Hide resolved
description: "S-nail provides a simple and friendly environment for sending and receiving mail."
copyright:
- license: HPND

environment:
contents:
packages:
- posix-libc-utils
- build-base
- busybox

pipeline:
- uses: git-checkout
with:
repository: https://github.com/sdaoden/s-mailx.git
tag: v${{package.version}}
expected-commit: bf99a2bb04be7b3cfa57c47127a1d865dc7ec3be

- runs: |
set -x
make VAL_PREFIX= config
make build
mkdir "${{targets.destdir}}/bin"
cp /home/build/.obj/s-nail "${{targets.destdir}}/bin/s-nail"
cp /home/build/.obj/s-nail-dotlock "${{targets.destdir}}/bin/s-nail-dotlock"
mkdir "${{targets.destdir}}/etc"
cp /home/build/.obj/urc.rc "${{targets.destdir}}/etc/s-nail.rc"

- uses: strip

update:
enabled: true
github:
identifier: sdaoden/s-mailx
strip-prefix: v
use-tag: true

test:
environment:
contents:
packages:
- build-base
- busybox
pipeline:
- runs: |
version=$(/bin/s-nail --version 2>/dev/null)
echo "$version" | grep "${{package.version}}"