diff --git a/srcpkgs/ldm-git/template b/srcpkgs/ldm/template similarity index 53% rename from srcpkgs/ldm-git/template rename to srcpkgs/ldm/template index c749a7ad18b..d0e1752d430 100644 --- a/srcpkgs/ldm-git/template +++ b/srcpkgs/ldm/template @@ -1,22 +1,17 @@ -# Template file for 'ldm-git' -pkgname=ldm-git -version=20141213 +# Template file for 'ldm' +pkgname=ldm +version=0.6 revision=1 build_style=gnu-makefile -hostmakedepends="perl git" +hostmakedepends="perl" makedepends="libmount-devel libudev-devel" short_desc="A lightweight device mounter" maintainer="Ypnose " license="MIT" homepage="https://github.com/LemonBoy/ldm" -provides="ldm-${version}_${revision}" -replaces="ldm>=0" - -do_fetch() { - local url="git://github.com/LemonBoy/ldm" - msg_normal "Fetching source from $url ...\n" - git clone ${url} ${pkgname}-${version} -} +distfiles="https://github.com/LemonBoy/${pkgname}/archive/v${version}.tar.gz" +checksum="180306972ac4ea1881eceabf5acff5ba8b828bfd36aaa74a01d432f0bf575fab" +replaces="ldm-git>=0" pre_build() { # Don't include systemd service as default @@ -24,7 +19,5 @@ pre_build() { } post_install() { - #systemd service in provided in examples - vinstall ldm.service 644 usr/share/examples/ldm vinstall LICENSE 644 usr/share/licenses/ldm }