Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 4th, 2010  |  syntax: Bash  |  size: 1.08 KB  |  views: 99  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Aguilera Dario <dario_21_06@hotmail.com>
  2. pkgname=notify-osd-normal-position
  3. _realname=notify-osd
  4. pkgver=0.9.29
  5. pkgrel=1
  6. pkgdesc="Canonical's on-screen notification display agent, hacked for being displayed with it's normal position and with a custom color"
  7. url="https://launchpad.net/notify-osd"
  8. license="GPL"
  9. arch=('i686' 'x86_64')
  10. depends=('gconf' 'cairo' 'freetype2' 'libwnck')
  11. makedepends=('pkgconfig' 'libnotify')
  12. conflicts=('notification-daemon' 'notify-osd')
  13. provides=('notification-daemon' 'notify-osd')
  14. source=(http://launchpad.net/notify-osd/lucid/ubuntu-10.04-beta-2/+download/${_realname}-${pkgver}.tar.gz
  15.         dynamic.patch
  16.         notify-color-hack-karmic.patch)
  17. md5sums=('13df20eb3c6d06c17eef07400e1650d8' '1ec30363b9611e7cfedee4cc0a47fb45' 'c34ce8786c2330a4e2adb580fa250230')
  18.  
  19. build() {
  20.  patch -p0 -i dynamic.patch || return 1
  21.  patch -p0 -i notify-color-hack-karmic.patch || return 1
  22.   cd "$srcdir/$_realname-$pkgver"
  23.   ./configure --prefix=/usr --libexecdir=/usr/lib/notify-osd --disable-gtktest || return 1
  24.   make || return 1
  25.   make install DESTDIR="$pkgdir"
  26. }