22 lines
705 B
Bash
22 lines
705 B
Bash
# Template file for 'ldm'
|
|
pkgname=ldm
|
|
version=0.6.3
|
|
revision=1
|
|
hostmakedepends="perl pkg-config"
|
|
makedepends="libmount-devel libudev-devel libglib-devel"
|
|
short_desc="A lightweight device mounter"
|
|
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
|
license="MIT"
|
|
homepage="https://github.com/LemonBoy/ldm"
|
|
distfiles="https://github.com/LemonBoy/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=7e5e2b406bc627d4df7676b470ead6af75739ce96dc283e25467bb123b2717d9
|
|
|
|
do_build() {
|
|
# Don't include systemd service as default
|
|
sed -i 's|install: all install-main install-systemd|install: all install-main|g' Makefile
|
|
make CC=$CC ${makejobs}
|
|
}
|
|
do_install() {
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
vlicense LICENSE
|
|
}
|