xfce4-notifyd: enable virtualpkg by default.

This commit is contained in:
Juan RP 2011-10-20 17:43:53 +02:00
parent 71a14be355
commit 79368469c7
2 changed files with 5 additions and 5 deletions

View File

@ -2,11 +2,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>
<!-- This dictionary sets that we _always_ want
the "xfce4-notifyd" package to be the default
notification-daemon package, over other alternatives. -->
<key>virtual-pkgver</key>
<string>notification-daemon-0.2</string>
<string>notification-daemon-0.6</string>
<key>target-pkgpattern</key>
<string>xfce4-notifyd>=0</string>
</dict>

View File

@ -1,7 +1,7 @@
# Template file for 'xfce4-notifyd'
pkgname=xfce4-notifyd
version=0.2.1
revision=1
revision=2
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"
@ -44,4 +44,7 @@ Add_dependency full desktop-file-utils
post_install() {
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} .
}