First push
This commit is contained in:
commit
f0b75e78bd
|
@ -0,0 +1,2 @@
|
|||
# code-minimap void template
|
||||
This serves as a simple template to build code-minimap on void linux from https://github.com/wfxr/code-minimap
|
|
@ -0,0 +1,28 @@
|
|||
pkgname=code-minimap
|
||||
version=0.6.4
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
maintainer="Wizzard <rich@bandaholics.cash>"
|
||||
short_desc="code-minimap"
|
||||
homepage="https://github.com/wfxr/code-minimap"
|
||||
license="LicenseType"
|
||||
distfiles="https://github.com/wfxr/code-minimap/releases/download/v${version}/code-minimap_${version}_amd64.deb"
|
||||
checksum=df772fa7668c6b52e10e9d61484c86a773ca6d75ec90ffd8b0cf8b7fdef4c47d
|
||||
hostmakedepends="tar xz"
|
||||
|
||||
do_extract() {
|
||||
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/code-minimap_${version}_amd64.deb
|
||||
tar xf data.tar.xz -C ${wrksrc}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir /usr/bin
|
||||
vmkdir /usr/share/doc/code-minimap
|
||||
vmkdir /usr/share/fish/vendor_completions.d
|
||||
vmkdir /usr/share/zsh/vendor-completions
|
||||
|
||||
vcopy usr/bin/* /usr/bin/
|
||||
vcopy usr/share/doc/code-minimap/* /usr/share/doc/code-minimap/
|
||||
vcopy usr/share/fish/vendor_completions.d/* /usr/share/fish/vendor_completions.d/
|
||||
vcopy usr/share/zsh/vendor-completions/* /usr/share/zsh/vendor-completions/
|
||||
}
|
Loading…
Reference in New Issue