void-packages/srcpkgs/cdm/template
2017-04-06 18:52:41 +02:00

22 lines
634 B
Bash

# Template file for 'cdm'
pkgname=cdm
version=0.0.20140805
revision=2
_commit=7b6c395e91aa6c43b94a77994bffd4d9c9e2cffa
wrksrc="${pkgname}-${_commit}"
noarch=yes
short_desc="Console Display Manager"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
depends="dialog xinit kbd xdpyinfo"
license="GPL-2"
homepage="https://github.com/ghost1227/cdm"
distfiles="$homepage/archive/$_commit.tar.gz"
checksum=6770e91a45059fce870ecce5c12fa61efa10c7a1f1d16afda283deba8659a925
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
}