vscl: use make_dirs instead of .empty
[ci skip]
This commit is contained in:
parent
366120765c
commit
af7bb213a1
1 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'vscl'
|
||||
pkgname=vscl
|
||||
version=6.1.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=fetch
|
||||
create_wrksrc=yes
|
||||
short_desc="McAfee VirusScan Command Line for Linux"
|
||||
|
@ -17,6 +17,7 @@ noshlibprovides=yes
|
|||
lib32disabled=yes
|
||||
homepage="https://www.mcafee.com/"
|
||||
conf_files="/etc/vscl.conf"
|
||||
make_dirs="/usr/share/vscl 0755 root root"
|
||||
|
||||
_libdir="usr/libexec/${pkgname}"
|
||||
_datadir="usr/share/${pkgname}"
|
||||
|
@ -52,9 +53,6 @@ do_extract() {
|
|||
|
||||
do_install() {
|
||||
vmkdir ${_libdir}
|
||||
vmkdir ${_datadir}
|
||||
|
||||
touch ${DESTDIR}/${_datadir}/.empty
|
||||
|
||||
vbin ${FILESDIR}/vscl
|
||||
sed -i "s|_libdir|${_libdir}|g" ${DESTDIR}/usr/bin/vscl
|
||||
|
|
Loading…
Reference in a new issue