xf86-video-ati-git-snapshot: added a virtualpkg.d plist file.
This commit is contained in:
parent
9b6e518d99
commit
9036e1b7cb
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>virtual-pkgver</key>
|
||||
<string>@@PROVIDES@@</string>
|
||||
<key>target-pkgpattern</key>
|
||||
<string>@@REPLACES@@</string>
|
||||
</dict>
|
||||
</plist>
|
|
@ -8,7 +8,7 @@ long_desc="
|
|||
This is the video driver for ATI Radeon cards for the Xorg X11 server."
|
||||
|
||||
replaces="xf86-video-ati>=0"
|
||||
provides="xf86-video-ati-9999"
|
||||
provides="xf86-video-ati-6.15"
|
||||
nofetch=yes
|
||||
noextract=yes
|
||||
|
||||
|
@ -40,3 +40,13 @@ do_fetch() {
|
|||
pre_configure() {
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||
644 etc/xbps/virtualpkg.d ${pkgname}.plist
|
||||
sed -i "s|@@PROVIDES@@|${provides}|;s|@@REPLACES@@|${replaces}|" \
|
||||
${DESTDIR}/etc/xbps/virtualpkg.d/${pkgname}.plist
|
||||
vmkdir etc/xbps/virtualpkg.d.wants
|
||||
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue