d3bc0de1e7
It wasn't too useful after all and this slowed down the dependency process marginally. We don't need this, we can live without this.
23 lines
718 B
Bash
23 lines
718 B
Bash
# Template file for 'ldm'
|
|
pkgname=ldm
|
|
version=0.7
|
|
revision=1
|
|
hostmakedepends="perl pkg-config"
|
|
makedepends="libmount-devel eudev-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=fb464bffec5b7d0680009b43a95881e8c02ec07e84d6f7fb05206d666dc44bdb
|
|
|
|
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
|
|
vsv ldm
|
|
vlicense LICENSE
|
|
}
|