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 Nov 1st, 2012  |  syntax: None  |  size: 1.16 KB  |  views: 48  |  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: Graham Rogers <grogers3.14@googlemail.com>
  2. pkgname=lxpolkit-git
  3. pkgver=20121102
  4. pkgrel=1
  5. pkgdesc='A simple PolicyKit authentication agent for LXDE'
  6. arch=('i686' 'x86_64')
  7. url="http://blog.lxde.org/?p=674"
  8. license=('GPL')
  9. groups=('lxde')
  10. provides=('lxpolkit')
  11. conflicts=('lxpolkit')
  12. depends=('gtk2>=2.12.0' 'polkit')
  13. makedepends=('git' 'intltool')
  14. source=('automake-1.12.patch'
  15.         'autogen.patch')
  16.  
  17. _gitroot="git://lxde.git.sourceforge.net/gitroot/lxde/lxpolkit"
  18. _gitname="lxpolkit"
  19.  
  20. build() {
  21.   cd "$srcdir"
  22.   msg "Connecting to GIT server...."
  23.  
  24.   if [ -d "$_gitname" ] ; then
  25.     cd "$_gitname"
  26.     git checkout -- configure.ac
  27.     git pull origin
  28.     msg "The local files are updated."
  29.   else
  30.     git clone "$_gitroot"
  31.   fi
  32.  
  33.   msg "GIT checkout done or server timeout"
  34.   msg "Starting make..."
  35.  
  36.   cd "${srcdir}/${_gitname}"
  37.  
  38.   patch -p1 < ${srcdir}/automake-1.12.patch
  39.   patch -p1 < ${srcdir}/autogen.patch
  40.  
  41.   ./autogen.sh
  42.   #aclocal
  43.   #automake
  44.   #autoconf
  45.   ./configure --prefix="/usr" --sysconfdir="/etc"
  46.   make DESTDIR=${pkgdir} install
  47. }
  48. md5sums=('c8855c4c750e8b60a9870fa3ef23fd29'
  49.         'd8cabf01d16ae360fcf70fd8486db6a3')
clone this paste RAW Paste Data