void-packages/srcpkgs/cdm/template

23 lines
637 B
Bash
Raw Normal View History

2015-10-18 23:25:47 +00:00
# Template file for 'cdm'
pkgname=cdm
version=0.0.20140805
2015-10-19 13:12:55 +00:00
revision=2
2015-10-18 23:25:47 +00:00
_commit=7b6c395e91aa6c43b94a77994bffd4d9c9e2cffa
wrksrc="${pkgname}-${_commit}"
noarch=yes
short_desc="Console Display Manager"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
2015-10-19 13:12:55 +00:00
depends="dialog xinit kbd xdpyinfo"
2015-10-18 23:25:47 +00:00
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
2015-10-19 13:12:55 +00:00
vmkdir etc/profile.d
vinstall src/profile.sh 755 etc/profile.d cdm.sh
2015-10-18 23:25:47 +00:00
}