New package: ldm-0.6 (replaces ldm-git)

This commit is contained in:
Ypnose 2015-04-17 11:56:53 +02:00
parent ad52898a92
commit d8f85a237c

View file

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