void-packages/srcpkgs/go-mtpfs/template

21 lines
550 B
Bash

# Template file for 'go-mtpfs'
pkgname=go-mtpfs
version=0.0.1.20180121
revision=6
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="3-clause-BSD"
homepage="https://github.com/hanwen/go-mtpfs"
do_fetch() {
git clone git://${go_import_path} ${pkgname}-${version}
cd ${pkgname}-${version}
git reset --hard eeb4cce46870f2b57043fca50ea5bc680e72ec8a
}
post_install() {
vlicense LICENSE
}