diff --git a/srcpkgs/xsecurelock/template b/srcpkgs/xsecurelock/template index 137d9f0d5e..a3331685fe 100644 --- a/srcpkgs/xsecurelock/template +++ b/srcpkgs/xsecurelock/template @@ -10,17 +10,13 @@ short_desc="An X11 screen locker designed with the primary goal of security" maintainer="Sean R. Lang " license="Apache-2.0" homepage="https://github.com/google/xsecurelock" +distfiles="https://github.com/google/xsecurelock/archive/v$version.tar.gz" +checksum=92abf1f80e18e8e3368d529e2e5787abdfe60d1344475764d8f31db9ea4aaf2f pre_configure() { sh autogen.sh } -do_fetch() { - local url="git://github.com/google/xsecurelock.git" - msg_normal "Fetching source from $url ...\n" - git clone --branch v${version} ${url} ${pkgname}-${version} -} - do_build() { make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs} }