pantry/projects/yadm.io/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

24 lines
434 B
YAML

distributable:
url: https://github.com/TheLocehiliosan/yadm/archive/refs/tags/{{ version }}.tar.gz
strip-components: 1
versions:
github: TheLocehiliosan/yadm/tags
dependencies:
git-scm.org: "*"
gnu.org/bash: "*"
build:
dependencies:
script: |
make install PREFIX={{ prefix }}
provides:
- bin/yadm
test: |
yadm init
test -f ~/.local/share/yadm/repo.git/config
test $(yadm gitconfig core.worktree) = $PWD