New comment by ketlrznt on void-packages repository https://github.com/void-linux/void-packages/pull/38582#issuecomment-1211511095 Comment: > this is a bit cleaner > > ```shell > # Template file for 'v2ray-domain-list-community' > pkgname=v2ray-domain-list-community > version=20220809072217 > revision=1 > build_style=fetch > short_desc="Community managed domain list for Project V" > maintainer="ketlrznt " > license="MIT" > homepage="https://github.com/v2fly/domain-list-community" > distfiles="https://github.com/v2fly/domain-list-community/releases/download/${version}/dlc.dat > https://raw.githubusercontent.com/v2fly/domain-list-community/master/LICENSE" > checksum="fb7312ba36be5865b14858f44dff3dadf996eb5623bd23d63ead448feb40622d > b9d84a22870d3f21c91a4c6e410c9cc51d00902f5233ad0c84011479244bf7d2" > > do_install() { > vinstall dlc.dat 0644 usr/share/v2ray geosite.dat > vlicense LICENSE > } > ``` Thank you! As a packaging newbie I referred Manual and `xnew` to write template, section [Optional variables](https://github.com/void-linux/void-packages/blob/master/Manual.md#optional-variables) indicates that `distfile` should be compressed data. I don't know such usage (`fetch build style`). Now I know it.