vp-build/srcpkgs/go-mtpfs/template

22 lines
549 B
Bash

# Template file for 'go-mtpfs'
pkgname=go-mtpfs
version=0.0.1.20191024
revision=1
build_style=go
go_import_path=github.com/hanwen/go-mtpfs
hostmakedepends="git pkg-config"
makedepends="libusb-devel"
short_desc="Mount MTP devices over FUSE"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/hanwen/go-mtpfs"
do_fetch() {
git clone git://${go_import_path} ${pkgname}-${version}
cd ${pkgname}-${version}
git reset --hard ac020cbe756b93be91ed0a6ff5c55a7a44a39d68
}
post_install() {
vlicense LICENSE
}