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'
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 <linuxienATlegtuxDOTorg>"
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
}