diff --git a/srcpkgs/go-mtpfs/template b/srcpkgs/go-mtpfs/template index 4c3e6db7423..aa07ad5e1e3 100644 --- a/srcpkgs/go-mtpfs/template +++ b/srcpkgs/go-mtpfs/template @@ -1,21 +1,18 @@ # Template file for 'go-mtpfs' pkgname=go-mtpfs -version=0.0.1.20191024 +version=1.0.0 revision=1 build_style=go go_import_path=github.com/hanwen/go-mtpfs -hostmakedepends="git pkg-config" +hostmakedepends="pkg-config" makedepends="libusb-devel" short_desc="Mount MTP devices over FUSE" maintainer="Orphaned " license="BSD-3-Clause" homepage="https://github.com/hanwen/go-mtpfs" +distfiles="https://github.com/hanwen/go-mtpfs/archive/v${version}.tar.gz" +checksum=47060acf74c9f7a612f492c041c9463efb37eab4f9a74eca96686ed61bbbe7ec -do_fetch() { - git clone git://${go_import_path} ${pkgname}-${version} - cd ${pkgname}-${version} - git reset --hard ac020cbe756b93be91ed0a6ff5c55a7a44a39d68 -} post_install() { vlicense LICENSE }