vscl: use make_dirs instead of .empty

[ci skip]
This commit is contained in:
maxice8 2018-09-03 00:24:15 -03:00
parent 366120765c
commit af7bb213a1
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -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