Want more features on Pastebin? Sign Up, it's FREE!
Guest

thunar-git PKGBUILD

By: cdprincipe on Jun 16th, 2013  |  syntax: None  |  size: 1.35 KB  |  views: 50  |  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. # Maintainer: Limao Luo <luolimao+AUR@gmail.com>
  2. # Contributor: Diego Principe <cdprincipe@gmail.com>
  3. #
  4. # (Added from thunar package)
  5. # Contributor: Evangelos Foutras <evangelos@foutrelis.com>
  6. # Contributor: Andrew Simmons <andrew.simmons@gmail.com>
  7.  
  8. _pkgname=thunar
  9. pkgname=$_pkgname-git
  10. pkgver=3018.514a467
  11. pkgrel=1
  12. pkgdesc="New modern file manager for Xfce"
  13. arch=(i686 x86_64)
  14. license=(GPL2)
  15. url=http://$_pkgname.xfce.org
  16. groups=(xfce4-git)
  17. depends=(libexif xfce4-panel)
  18. makedepends=(git xfce4-dev-tools)
  19. provides=($_pkgname=1.6.2)
  20. conflicts=($_pkgname{,-devel})
  21. options=(!libtool)
  22. install=$_pkgname.install
  23. source=(git://git.xfce.org/xfce/$_pkgname)
  24. md5sums=('SKIP')
  25.  
  26. pkgver(){
  27.   cd $srcdir/thunar
  28.   echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
  29. }
  30.  
  31. build() {
  32.   cd "$srcdir"/"$_pkgname"
  33.   ./autogen.sh \
  34.     --prefix=/usr \
  35.     --sysconfdir=/etc \
  36.     --libexecdir=/usr/lib \
  37.     --localstatedir=/var \
  38.     --disable-static \
  39.     --enable-gio-unix \
  40.     --enable-dbus \
  41.     --enable-startup-notification \
  42.     --enable-gudev \
  43.     --enable-exif \
  44.     --enable-pcre \
  45.     --enable-gtk-doc \
  46.     --disable-debug
  47.   make
  48. }
  49.  
  50. package() {
  51.   cd "$srcdir"/$_pkgname/
  52.   make DESTDIR="$pkgdir" install
  53.   sed -i ':x-directory/gnome-default-handler;:d' "$pkgdir"/usr/share/applications/Thunar-folder handler.desktop
  54. }
clone this paste RAW Paste Data