From 1ea32d424337d6958e681e41f501d96a84eea793 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Mon, 27 Jul 2015 02:00:06 +0200 Subject: [PATCH] fuse-usmb: add distfiles+checksum --- srcpkgs/fuse-usmb/template | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/srcpkgs/fuse-usmb/template b/srcpkgs/fuse-usmb/template index 8d78e6978b8..52a8f07899c 100644 --- a/srcpkgs/fuse-usmb/template +++ b/srcpkgs/fuse-usmb/template @@ -1,7 +1,8 @@ # Template file for 'fuse-usmb' pkgname=fuse-usmb version=20130204 -revision=4 +revision=5 +_commit=aa94e13 build_pie=yes build_style=gnu-configure hostmakedepends="automake libtool pkg-config git" @@ -10,15 +11,15 @@ short_desc="FUSE filesystem for SMB/CIFS shares" maintainer="Juan RP " license="GPL-3" homepage="http://ametros.net/code.html#usmb" +distfiles="http://repo.or.cz/w/usmb.git/snapshot/$_commit.tar.gz" +checksum=d10bea16001b3b778a589477e2fff22a359a2b278dc5c2e497de876a95892a25 + +wrksrc="usmb-$_commit" -do_fetch() { - git clone -b${version} git://repo.or.cz/usmb.git ${pkgname}-${version} - sed -i '/_BSD_SOURCE/d' ${pkgname}-${version}/configure.ac -} pre_configure() { + sed -i '/_BSD_SOURCE/d' configure.ac autoreconf -fi } do_install() { make bindir=${DESTDIR}/usr/bin man1dir=${DESTDIR}/usr/share/man/man1 install } -