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

updated PKGBUILD - dzen2-xft-xpm-xinerama-svn

By: a guest on Oct 19th, 2010  |  syntax: None  |  size: 1.49 KB  |  hits: 185  |  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: Murtuza Akhtari <inxsible at gmail dot com>
  2. # Adopted for updates by: BKLive <bkunixos@gmail.com>
  3. # Contributor: Uwe < keksvernichter AT gmail DOT com >
  4. pkgname=dzen2-xft-xpm-xinerama-svn
  5. pkgver=271
  6. pkgrel=1
  7. pkgdesc="pkgdesc="X notification utility with Xinerama, XPM, XFT and gadgets, svn version""
  8. arch=('i686' 'x86_64')
  9. url="http://gotmor.googlepages.com/dzen"
  10. license=('MIT')
  11. depends=('libxft' 'libxinerama' 'libxpm')
  12. makedepends=('subversion' 'gcc')
  13. provides=('dzen2')
  14. conflicts=('dzen2' 'dzen2-gadgets-svn' 'dzen2-svn')
  15.  
  16. source=('config.patch')
  17. md5sums=('0ccb8c3b2a7c7af098d63c4cd727df1a')
  18.  
  19. _svntrunk=http://dzen.googlecode.com/svn/trunk/
  20. _svnmod=dzen2
  21.  
  22. build() {
  23.   cd ${srcdir}
  24.  
  25.   if [ -d $_svnmod/.svn ]; then
  26.     (cd $_svnmod && svn up -r $pkgver)
  27.   else
  28.     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
  29.   fi
  30.  
  31.   msg "SVN checkout done or server timeout"
  32.   msg "Starting make..."
  33.  
  34.   if [ -d $_svnmod-build ]; then
  35.     rm -rf $_svnmod-build
  36.   fi
  37.   cp -r $_svnmod $_svnmod-build
  38.   cd $_svnmod-build
  39.  
  40.   patch -p0 < ${srcdir}/config.patch
  41.  
  42.   make
  43.   make DESTDIR=${pkgdir} install
  44.  
  45.   #license
  46.   install -m644 -D LICENSE ${startdir}/pkg/usr/share/licenses/$_svnmod/COPYING
  47.  
  48.   #docs
  49.   mkdir -p ${pkgdir}/usr/share/doc/$_svnmod
  50.   cp README* ${pkgdir}/usr/share/doc/$_svnmod
  51.  
  52.   #gadgets && docs
  53.   cd gadgets
  54.   make || return 1
  55.   make DESTDIR=${pkgdir} install || return 1
  56.   cp README* ${pkgdir}/usr/share/doc/$_svnmod
  57. }
  58.  
  59. # vim: set sw=4 et :