void-packages/srcpkgs/cdm/template

21 lines
579 B
Bash

# Template file for 'cdm'
pkgname=cdm
version=0.7
revision=2
short_desc="Console Display Manager"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
depends="dialog xinit kbd xdpyinfo"
license="GPL-2.0-or-later"
homepage="https://github.com/evertiro/cdm"
distfiles="https://github.com/evertiro/cdm/archive/${version}.tar.gz"
checksum=530042165ce65cdff3ec62ba9f077d0e8c6744c13f5d449d84fe2506a79d2e56
noarch=yes
do_install() {
sed -i 's| /| $PKGDESTDIR/|g' install.sh
PKGDESTDIR="$PKGDESTDIR" ./install.sh
vmkdir etc/profile.d
vinstall src/profile.sh 755 etc/profile.d cdm.sh
}