Commit f68235dd authored by Will Sinatra's avatar Will Sinatra
Browse files

testing/jpm: new aport

parent 855017b8
Pipeline #92199 failed with stages
in 6 minutes and 11 seconds
# Contributor: Will Sinatra <wpsinatra@gmail.com>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=jpm
pkgver=0_git20210902
pkgrel=0
_commit="cf6086ae3b282046141fd7b6fbd1d08edcb85fdd"
pkgdesc="Janet Project Manager Tool"
url="https://janet-lang.org/docs/jpm.html"
license="MIT"
arch="all !riscv64" # FTBS riscv64
subpackages="$pkgname-doc"
depends="janet"
source="$pkgname-$_commit.tar.gz::https://github.com/janet-lang/jpm/archive/$_commit.tar.gz"
builddir="$srcdir/jpm-$_commit"
options="!check" # No tests
prepare() {
default_prepare
}
build() {
PREFIX="/usr" janet bootstrap.janet
}
package() {
install -Dt "$pkgdir"/usr/bin jpm/jpm
install -Dm644 -t "$pkgdir"/usr/lib/janet/jpm jpm/*.janet
install -Dm644 -t "$pkgdir"/usr/share/man jpm.1
}
sha512sums="
214d2242102ba741118fce5ffbda80c2050100935497dd44cb466eb9609c9d0fdddd1d1be498408c7dc9aeffc86c080b6cd991045a956156996c332b9899fd0d jpm-cf6086ae3b282046141fd7b6fbd1d08edcb85fdd.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment