|
|
就是那个ubuntu正在开发的那个
粗略的写了个PKGBUILD,能编译成功,但用不了
PKGBUILD:- # $Id$
- pkgname=notify-osd-ubuntu
- pkgver=3.8.0
- pkgrel=1
- pkgdesc=" daemon that displays passive pop-up notifications
- The Desktop Notifications framework provides a standard way of doing
- passive pop-up notifications on the Linux desktop. These are
- designed to notify the user of something without interrupting their
- work with a dialog box that they must close. Passive popups can
- automatically disappear after a short period of time."
- arch=(i686 x86_64)
- license=('GPL2')
- url="https://launchpad.net/ubuntu/jaunty/+source/notify-osd/0.8-0ubuntu2"
- depends=() #'human-icon-theme'
- makedepends=( 'glib2' 'gtk2' 'dbus' 'dbus-glib' 'intltool' 'libnotify' 'gconf' 'gnome-common' )
- conflicts=('notify-daemon' 'alsdorf')
- replaces=('notify-daemon' 'alsdorf')
- provides=(notification-daemon)
- #options=('!libtool')
- source=(https://launchpadlibrarian.net/22813045/notify-osd_0.8-0ubuntu2.tar.gz)
- md5sums=()
- build() {
- cd $startdir/src/notify-osd-ubuntu
-
- msg "Starting build..."
-
- ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
- --localstatedir=/var --disable-static
- make || return 1
- make DESTDIR=${startdir}/pkg install
- }
复制代码
notify-osd-ubuntu.install:- post_install() {
- killall alsdorf notification-daemon notify-osd 2>/dev/null || true
- }
- post_upgrade() {
- mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service /usr/share/dbus-1/services/org.freedesktop.Notifications.service.notify-osd > /dev/null
- }
- post_remove() {
- post_upgrade()
- }
复制代码 |
|