mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-12 18:13:50 +02:00
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'
|
# Template file for 'vscl'
|
||||||
pkgname=vscl
|
pkgname=vscl
|
||||||
version=6.1.0
|
version=6.1.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=fetch
|
build_style=fetch
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
short_desc="McAfee VirusScan Command Line for Linux"
|
short_desc="McAfee VirusScan Command Line for Linux"
|
||||||
|
@ -17,6 +17,7 @@ noshlibprovides=yes
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
homepage="https://www.mcafee.com/"
|
homepage="https://www.mcafee.com/"
|
||||||
conf_files="/etc/vscl.conf"
|
conf_files="/etc/vscl.conf"
|
||||||
|
make_dirs="/usr/share/vscl 0755 root root"
|
||||||
|
|
||||||
_libdir="usr/libexec/${pkgname}"
|
_libdir="usr/libexec/${pkgname}"
|
||||||
_datadir="usr/share/${pkgname}"
|
_datadir="usr/share/${pkgname}"
|
||||||
|
@ -52,9 +53,6 @@ do_extract() {
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir ${_libdir}
|
vmkdir ${_libdir}
|
||||||
vmkdir ${_datadir}
|
|
||||||
|
|
||||||
touch ${DESTDIR}/${_datadir}/.empty
|
|
||||||
|
|
||||||
vbin ${FILESDIR}/vscl
|
vbin ${FILESDIR}/vscl
|
||||||
sed -i "s|_libdir|${_libdir}|g" ${DESTDIR}/usr/bin/vscl
|
sed -i "s|_libdir|${_libdir}|g" ${DESTDIR}/usr/bin/vscl
|
||||||
|
|
Loading…
Add table
Reference in a new issue