Advertisement
demil133

PKGBUILD-thunar-extended

May 14th, 2013
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.16 KB | None | 0 0
  1. # Contributor: Connor Behan <connor.behan@gmail.com>
  2.  
  3. pkgname=thunar-extended
  4. pkgver=1.6.2
  5. pkgrel=1
  6. pkgdesc="Thunar with cursor audio preview and extra options for trash, desktop files and user actions"
  7. arch=(i686 x86_64)
  8. license=('GPL2' 'LGPL2.1')
  9. url="http://thunar.xfce.org"
  10. groups=('xfce4')
  11. conflicts=('thunar')
  12. replaces=('thunar')
  13. provides=('thunar=1.6.2')
  14. depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify' 'udev' \
  15.     'gtk2' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng' 'gstreamer0.10')
  16. makedepends=('intltool' 'pkgconfig' 'gtk-doc' 'xfce4-panel' 'xfce4-dev-tools')
  17. optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems'
  18. 'polkit-polkitgnome: for mounting internal partitions (needs root password)'
  19. 'gamin: for monitoring file changes without gvfs'
  20. 'xfce4-panel: for trash applet'
  21. 'tumbler: for thumbnail previews'
  22. 'thunar-volman: manages removable devices'
  23. 'thunar-archive-plugin: create and devicesflate archives'
  24. 'thunar-media-tags-plugin: view/edit id3/ogg tags'tags)
  25. options=('!libtool')
  26. install=thunar.install
  27. source=(https://www.dropbox.com/s/o0nsdikfr7mabbt/Thunar-1.6.2.tar.bz2 notrash.patch uca_num_files.patch preview.patch)
  28.  
  29. build() {
  30.     cd "${srcdir}"/Thunar-${pkgver}
  31.  
  32.     patch -Np1 -i ../notrash.patch
  33.     patch -Np1 -i ../uca_num_files.patch
  34.     patch -Np1 -i ../preview.patch
  35.     sed -i -e 's/Thunar_CFLAGS/thunar_CFLAGS/' -e 's/Thunar_LDADD/thunar_LDADD/' thunar/Makefile.am
  36.  
  37.     xdt-autogen
  38.  
  39.     ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
  40.     --localstatedir=/var --disable-static --disable-wallpaper-plugin \
  41.     --enable-gstreamer --enable-gio-unix --enable-dbus --enable-exif \
  42.     --enable-pcre --enable-gudev --disable-startup-notification \
  43.     --enable-notifications --enable-gtk-doc
  44.  
  45.     make
  46. }
  47.  
  48. package() {
  49.     cd "${srcdir}"/Thunar-${pkgver}
  50.     make DESTDIR="${pkgdir}" install || return 1
  51.     sed -i 's:x-directory/gnome-default-handler;::' \
  52.     ${pkgdir}/usr/share/applications/Thunar-folder-handler.desktop
  53. }
  54.  
  55.  
  56. md5sums=('7af1d71e139b5a2e7e8640058a24757a' 'b6c0920eeefd3b3891a7f5c47b05b0d0' '1d62044729c8e34e7cc6c3fda0ea8df5' 'ff6b78b104266f03dc387b5be95fba21')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement