xbps: use make_dirs instead of creating .empty

This commit is contained in:
maxice8 2018-09-02 20:30:23 -03:00
parent fb3b63a855
commit e4da7222ad
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,7 +1,7 @@
# Template file for 'xbps'
pkgname=xbps
version=0.53
revision=6
revision=7
bootstrap=yes
build_style=configure
short_desc="The XBPS package system utilities"
@ -15,6 +15,8 @@ hostmakedepends="pkg-config"
makedepends="zlib-devel libressl-devel libarchive-devel"
depends="ca-certificates xbps-triggers"
make_dirs="/etc/xbps.d 0755 root root"
if [ "$CHROOT_READY" ]; then
makedepends+=" atf-devel"
xbps-tests_package() {
@ -45,8 +47,6 @@ post_install() {
${DESTDIR}/usr/share/xbps.d/00-repository-main.conf
;;
esac
vmkdir etc/xbps.d
touch ${DESTDIR}/etc/xbps.d/.empty
vlicense COPYING
vlicense COPYING.3RDPARTY
}