From d8f85a237c2aa9e159e24f418e7bb20f939b59f9 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Fri, 17 Apr 2015 11:56:53 +0200 Subject: [PATCH] New package: ldm-0.6 (replaces ldm-git) --- srcpkgs/{ldm-git => ldm}/template | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) rename srcpkgs/{ldm-git => ldm}/template (53%) 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 c749a7ad18..d0e1752d43 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 }