cdm: fix depends + add profile file
This commit is contained in:
parent
57e566d4f9
commit
e327ebf554
1 changed files with 5 additions and 2 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'cdm'
|
# Template file for 'cdm'
|
||||||
pkgname=cdm
|
pkgname=cdm
|
||||||
version=0.0.20140805
|
version=0.0.20140805
|
||||||
revision=1
|
revision=2
|
||||||
_commit=7b6c395e91aa6c43b94a77994bffd4d9c9e2cffa
|
_commit=7b6c395e91aa6c43b94a77994bffd4d9c9e2cffa
|
||||||
wrksrc="${pkgname}-${_commit}"
|
wrksrc="${pkgname}-${_commit}"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc="Console Display Manager"
|
short_desc="Console Display Manager"
|
||||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||||
depends="bash"
|
depends="dialog xinit kbd xdpyinfo"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://github.com/ghost1227/cdm"
|
homepage="https://github.com/ghost1227/cdm"
|
||||||
distfiles="$homepage/archive/$_commit.tar.gz"
|
distfiles="$homepage/archive/$_commit.tar.gz"
|
||||||
|
@ -16,4 +16,7 @@ checksum=6770e91a45059fce870ecce5c12fa61efa10c7a1f1d16afda283deba8659a925
|
||||||
do_install() {
|
do_install() {
|
||||||
sed -i 's| /| $PKGDESTDIR/|g' install.sh
|
sed -i 's| /| $PKGDESTDIR/|g' install.sh
|
||||||
PKGDESTDIR="$PKGDESTDIR" ./install.sh
|
PKGDESTDIR="$PKGDESTDIR" ./install.sh
|
||||||
|
|
||||||
|
vmkdir etc/profile.d
|
||||||
|
vinstall src/profile.sh 755 etc/profile.d cdm.sh
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue