void-packages/srcpkgs/fs-repo-migrations/template

22 lines
630 B
Bash

# Template file for 'fs-repo-migrations'
pkgname=fs-repo-migrations
version=1.7.1
revision=1
build_style=go
go_import_path="github.com/ipfs/fs-repo-migrations"
short_desc="Tool to upgrade the IPFS filesystem repository"
maintainer="Christopher Brannon <chris@the-brannons.com>"
license="MIT"
homepage="https://github.com/ipfs/fs-repo-migrations"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=6fbd68a6ae5eabcebdd0dc81e909a069facb112c4fe0421f159ab58112a041c2
# fix: collect2: fatal error: cannot find 'ld'
export LDFLAGS="-fuse-ld=bfd"
post_install() {
vlicense LICENSE
vdoc README.md
vdoc run.md
}