void-packages/srcpkgs/cdm/template
2019-03-01 12:04:45 -03:00

20 lines
581 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
archs=noarch
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
}