diff --git a/srcpkgs/libjpeg-turbo/libjpeg-turbo-devel.template b/srcpkgs/libjpeg-turbo/libjpeg-turbo-devel.template index 6a2eebdd43..909e397257 100644 --- a/srcpkgs/libjpeg-turbo/libjpeg-turbo-devel.template +++ b/srcpkgs/libjpeg-turbo/libjpeg-turbo-devel.template @@ -11,7 +11,7 @@ Add_dependency run libjpeg-turbo provides="jpeg-devel-8" replaces="jpeg-devel>=0" -revision=1 +revision=2 do_install() { @@ -19,4 +19,7 @@ do_install() vmove "usr/lib/*.a" usr/lib vinstall ${FILESDIR}/${pkgname}.virtualpkgd \ 644 etc/xbps/virtualpkg.d ${pkgname} + vmkdir etc/xbps/virtualpkg.d.wants + cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \ + ln -sf ../virtualpkg.d/${pkgname} . } diff --git a/srcpkgs/libjpeg-turbo/libjpeg-turbo-tools.template b/srcpkgs/libjpeg-turbo/libjpeg-turbo-tools.template index dd958ee65f..53e886000a 100644 --- a/srcpkgs/libjpeg-turbo/libjpeg-turbo-tools.template +++ b/srcpkgs/libjpeg-turbo/libjpeg-turbo-tools.template @@ -11,7 +11,7 @@ Add_dependency run libjpeg-turbo ">=${version}" provides="jpeg-tools-8" replaces="jpeg-tools>=0" -revision=1 +revision=2 do_install() { @@ -19,4 +19,7 @@ do_install() vmove usr/share/man usr/share vinstall ${FILESDIR}/${pkgname}.virtualpkgd \ 644 etc/xbps/virtualpkg.d ${pkgname} + vmkdir etc/xbps/virtualpkg.d.wants + cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \ + ln -sf ../virtualpkg.d/${pkgname} . } diff --git a/srcpkgs/libjpeg-turbo/template b/srcpkgs/libjpeg-turbo/template index 19c12ceeca..c9b9a6988b 100644 --- a/srcpkgs/libjpeg-turbo/template +++ b/srcpkgs/libjpeg-turbo/template @@ -1,7 +1,7 @@ # Template build file for 'libjpeg-turbo'. pkgname=libjpeg-turbo version=1.1.1 -revision=1 +revision=2 homepage="http://libjpeg-turbo.virtualgl.org/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" build_style=gnu_configure @@ -29,6 +29,9 @@ post_install() { vinstall LICENSE.txt 644 usr/share/licenses/${pkgname} vinstall ${FILESDIR}/${pkgname}.virtualpkgd \ 644 etc/xbps/virtualpkg.d ${pkgname} + vmkdir etc/xbps/virtualpkg.d.wants + cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \ + ln -sf ../virtualpkg.d/${pkgname} . rm -f ${DESTDIR}/usr/bin/jpegut rm -f ${DESTDIR}/usr/bin/jpgtest