Fix virtualpkg.d plist files extension.
This commit is contained in:
parent
9036e1b7cb
commit
eb6f01fbef
8 changed files with 26 additions and 25 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'cronie'
|
||||
pkgname=cronie
|
||||
version=1.4.8
|
||||
revision=4
|
||||
revision=5
|
||||
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--with-inotify --without-selinux --with-pam --disable-anacron
|
||||
|
@ -41,10 +41,10 @@ post_install()
|
|||
rm -f ${DESTDIR}/etc/pam.d/crond
|
||||
vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond
|
||||
vinstall ${FILESDIR}/cronie.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d cronie
|
||||
644 etc/xbps/virtualpkg.d cronie.plist
|
||||
vmkdir etc/xbps/virtualpkg.d.wants
|
||||
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||
ln -sf ../virtualpkg.d/cronie .
|
||||
ln -sf ../virtualpkg.d/cronie.plist .
|
||||
|
||||
# Add /etc/cron.deny empty, to allow all users.
|
||||
touch ${DESTDIR}/etc/cron.deny
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dcron'
|
||||
pkgname=dcron
|
||||
version=4.5
|
||||
revision=6
|
||||
revision=7
|
||||
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
||||
build_style=custom-install
|
||||
short_desc="Dillon's lightweight cron daemon"
|
||||
|
@ -43,10 +43,11 @@ do_install()
|
|||
install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond
|
||||
|
||||
vinstall ${FILESDIR}/dcron.service 644 lib/systemd/system
|
||||
vinstall ${FILESDIR}/dcron.virtualpkgd 644 etc/xbps/virtualpkg.d dcron
|
||||
vinstall ${FILESDIR}/dcron.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d dcron.plist
|
||||
vmkdir etc/xbps/virtualpkg.d.wants
|
||||
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||
ln -sf ../virtualpkg.d/dcron .
|
||||
ln -sf ../virtualpkg.d/dcron.plist .
|
||||
|
||||
# crontab must be setuid for all users to work!
|
||||
chmod 4755 ${DESTDIR}/usr/bin/crontab
|
||||
|
|
|
@ -11,15 +11,15 @@ Add_dependency run libjpeg-turbo
|
|||
provides="jpeg-devel-8"
|
||||
replaces="jpeg-devel>=0"
|
||||
|
||||
revision=2
|
||||
revision=3
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmove usr/include usr
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}.plist
|
||||
vmkdir etc/xbps/virtualpkg.d.wants
|
||||
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||
ln -sf ../virtualpkg.d/${pkgname} .
|
||||
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
||||
}
|
||||
|
|
|
@ -11,15 +11,15 @@ Add_dependency run libjpeg-turbo ">=${version}"
|
|||
provides="jpeg-tools-8"
|
||||
replaces="jpeg-tools>=0"
|
||||
|
||||
revision=2
|
||||
revision=3
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmove usr/bin usr
|
||||
vmove usr/share/man usr/share
|
||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}.plist
|
||||
vmkdir etc/xbps/virtualpkg.d.wants
|
||||
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||
ln -sf ../virtualpkg.d/${pkgname} .
|
||||
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'libjpeg-turbo'.
|
||||
pkgname=libjpeg-turbo
|
||||
version=1.1.1
|
||||
revision=2
|
||||
revision=3
|
||||
homepage="http://libjpeg-turbo.virtualgl.org/"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
build_style=gnu_configure
|
||||
|
@ -28,10 +28,10 @@ post_install() {
|
|||
vinstall jpegint.h 644 usr/include
|
||||
vinstall LICENSE.txt 644 usr/share/licenses/${pkgname}
|
||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}.plist
|
||||
vmkdir etc/xbps/virtualpkg.d.wants
|
||||
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||
ln -sf ../virtualpkg.d/${pkgname} .
|
||||
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
||||
|
||||
rm -f ${DESTDIR}/usr/bin/jpegut
|
||||
rm -f ${DESTDIR}/usr/bin/jpgtest
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'rsyslog'
|
||||
pkgname=rsyslog
|
||||
version=5.8.5
|
||||
revision=5
|
||||
revision=6
|
||||
homepage="http://www.rsyslog.com"
|
||||
distfiles="${homepage}/files/download/rsyslog/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
|
@ -44,7 +44,7 @@ post_install()
|
|||
|
||||
vmkdir etc/xbps/virtualpkg.d.wants
|
||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}.plist
|
||||
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||
ln -sf ../virtualpkg.d/${pkgname} .
|
||||
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
. ${XBPS_SRCPKGDIR}/vim/template
|
||||
unset subpackages
|
||||
pkgname=vim-x11
|
||||
revision=4
|
||||
revision=5
|
||||
configure_args="${configure_args} --enable-gui=no --with-x"
|
||||
short_desc="${short_desc} (x11)"
|
||||
long_desc="${long_desc}
|
||||
|
@ -28,10 +28,10 @@ post_install()
|
|||
{
|
||||
vmkdir etc/xbps/virtualpkg.d.wants
|
||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}.plist
|
||||
sed -i "s|@@PKGNAME@@|${pkgname}|;s|@@VERSION@@|${version}|" \
|
||||
${DESTDIR}/etc/xbps/virtualpkg.d/${pkgname}
|
||||
${DESTDIR}/etc/xbps/virtualpkg.d/${pkgname}.plist
|
||||
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||
ln -sf ../virtualpkg.d/${pkgname} .
|
||||
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
||||
rm -rf ${DESTDIR}/usr/share
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'xfce4-notifyd'
|
||||
pkgname=xfce4-notifyd
|
||||
version=0.2.1
|
||||
revision=2
|
||||
revision=3
|
||||
distfiles="http://archive.xfce.org/src/apps/$pkgname/0.2/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
short_desc="Simple, visually-appealing notification daemon for Xfce"
|
||||
|
@ -43,8 +43,8 @@ Add_dependency full desktop-file-utils
|
|||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}.plist
|
||||
vmkdir etc/xbps/virtualpkg.d.wants
|
||||
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||
ln -sf ../virtualpkg.d/${pkgname} .
|
||||
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue