cdm: fix depends + add profile file

This commit is contained in:
Andrea Brancaleoni 2015-10-19 15:12:55 +02:00
parent 57e566d4f9
commit e327ebf554

View file

@ -1,13 +1,13 @@
# Template file for 'cdm'
pkgname=cdm
version=0.0.20140805
revision=1
revision=2
_commit=7b6c395e91aa6c43b94a77994bffd4d9c9e2cffa
wrksrc="${pkgname}-${_commit}"
noarch=yes
short_desc="Console Display Manager"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
depends="bash"
depends="dialog xinit kbd xdpyinfo"
license="GPL-2"
homepage="https://github.com/ghost1227/cdm"
distfiles="$homepage/archive/$_commit.tar.gz"
@ -16,4 +16,7 @@ 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
}