void-packages/srcpkgs/app-builder/template

25 lines
758 B
Bash

# Template file for 'app-builder'
pkgname=app-builder
version=3.4.2
revision=4
build_style=go
go_import_path=github.com/develar/app-builder
short_desc="Generic helper tool to build app in a distributable format"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/develar/app-builder"
distfiles="${homepage}/archive/v${version}.tar.gz
${homepage}/raw/2fb48e08a7d30cb7b597b78a230f5a1e45bfc2be/LICENSE"
checksum="f3f4b5dbabf0319d780accc6dab7bb162026d873e38183dd9fb5164384eac4d7
bd662a6ff7b68e2d89e92ab5d02c0ff04eef249b8a02fc424cf970fb3feb525f"
skip_extraction="LICENSE"
# release tarball doesn't ship license
post_extract() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE .
}
post_install() {
vlicense LICENSE
}