xfce4-notifyd: enable virtualpkg by default.
This commit is contained in:
parent
71a14be355
commit
79368469c7
|
@ -2,11 +2,8 @@
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<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>
|
<key>virtual-pkgver</key>
|
||||||
<string>notification-daemon-0.2</string>
|
<string>notification-daemon-0.6</string>
|
||||||
<key>target-pkgpattern</key>
|
<key>target-pkgpattern</key>
|
||||||
<string>xfce4-notifyd>=0</string>
|
<string>xfce4-notifyd>=0</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xfce4-notifyd'
|
# Template file for 'xfce4-notifyd'
|
||||||
pkgname=xfce4-notifyd
|
pkgname=xfce4-notifyd
|
||||||
version=0.2.1
|
version=0.2.1
|
||||||
revision=1
|
revision=2
|
||||||
distfiles="http://archive.xfce.org/src/apps/$pkgname/0.2/$pkgname-$version.tar.bz2"
|
distfiles="http://archive.xfce.org/src/apps/$pkgname/0.2/$pkgname-$version.tar.bz2"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
short_desc="Simple, visually-appealing notification daemon for Xfce"
|
short_desc="Simple, visually-appealing notification daemon for Xfce"
|
||||||
|
@ -44,4 +44,7 @@ Add_dependency full desktop-file-utils
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||||
644 etc/xbps/virtualpkg.d ${pkgname}
|
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||||
|
vmkdir etc/xbps/virtualpkg.d.wants
|
||||||
|
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||||
|
ln -sf ../virtualpkg.d/${pkgname} .
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue