From b142851ef63a9da4a2fa20931e002eaee90e98b1 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Sat, 12 Sep 2020 22:51:35 +0200 Subject: [PATCH] New package: app-builder This will be used by electron things that use electron-builder --- srcpkgs/app-builder/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/app-builder/template diff --git a/srcpkgs/app-builder/template b/srcpkgs/app-builder/template new file mode 100644 index 00000000000..f20d2a103db --- /dev/null +++ b/srcpkgs/app-builder/template @@ -0,0 +1,24 @@ +# Template file for 'app-builder' +pkgname=app-builder +version=3.4.2 +revision=1 +build_style=go +go_import_path=github.com/develar/app-builder +short_desc="Generic helper tool to build app in a distributable format" +maintainer="q66 " +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 +}