Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

adeskbar0.22.1

By: a guest on May 28th, 2010  |  syntax: None  |  size: 1.01 KB  |  hits: 216  |  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. # $Id: PKGBUILD,v 1.00 2009/05/31 01:00 darkbaboon Exp $
  2. # Contributor: Pablo Kal
  3. pkgname=adeskbar
  4. pkgver=0.22.1
  5. pkgrel=1
  6. pkgdesc="A Quick Application Launcher"
  7. arch=('i686' 'x86_64')
  8. url="http://www.ad-comp.be/index.php?category/ADesk-Bar"
  9. license=('GPL3')
  10. depends=('python')
  11. provides=($pkgname)
  12. conflicts=($pkgname-bzr)
  13. source=(http://www.ad-comp.be/public/projets/ADeskBar/adeskbar_0.22-1.tar.bz2)
  14. md5sums=('5fdce6fb16e73e4de8d1180f3eec83b5')
  15.  
  16. build() {
  17. cd $srcdir
  18. install -d $pkgdir/usr/{bin,share/$pkgname,share/pixmaps,share/applications}
  19. cp -a $srcdir/$pkgname-$pkgver/src/* $pkgdir/usr/share/$pkgname
  20. install -m 644 $srcdir/$pkgname-$pkgver/$pkgname.png $pkgdir/usr/share/pixmaps/
  21. install -m 644 $srcdir/$pkgname-$pkgver/$pkgname.desktop $pkgdir/usr/share/applications/
  22.  
  23. echo -e "#!/bin/bash\nif [ -f ~/.config/$pkgname/config ]; then\n/usr/share/$pkgname/$pkgname\nelse\n \
  24. /usr/share/$pkgname/$pkgname-conf\n/usr/share/$pkgname/$pkgname\nfi" >$pkgdir/usr/bin/$pkgname
  25. chmod 755 $pkgdir/usr/bin/$pkgname