[arch-commits] Commit in thunar/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Feb 9 02:41:54 UTC 2017


    Date: Thursday, February 9, 2017 @ 02:41:53
  Author: foutrelis
Revision: 288274

upgpkg: thunar 1.6.10.174.g35e65ab0-1

Bump to git master to fix segfault during rename operations (FS#46657).

Modified:
  thunar/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-08 23:24:23 UTC (rev 288273)
+++ PKGBUILD	2017-02-09 02:41:53 UTC (rev 288274)
@@ -3,8 +3,9 @@
 # Contributor: Andrew Simmons <andrew.simmons at gmail.com>
 
 pkgname=thunar
-pkgver=1.6.10
-pkgrel=3
+pkgver=1.6.10.174.g35e65ab0
+_commit=35e65ab0ed5675b2dc7b4224b0ad152df3c3e9b0
+pkgrel=1
 pkgdesc="Modern file manager for Xfce"
 arch=('i686' 'x86_64')
 url="http://thunar.xfce.org"
@@ -12,7 +13,7 @@
 groups=('xfce4')
 depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify'
          'libgudev' 'gtk2' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng')
-makedepends=('intltool' 'xfce4-panel')
+makedepends=('intltool' 'xfce4-panel' 'xfce4-dev-tools' 'git')
 optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems'
             'xfce4-panel: for trash applet'
             'tumbler: for thumbnail previews'
@@ -19,17 +20,22 @@
             'thunar-volman: manages removable devices'
             'thunar-archive-plugin: create and deflate archives'
             'thunar-media-tags-plugin: view/edit id3/ogg tags')
-source=(http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/Thunar-$pkgver.tar.bz2)
-sha256sums=('7e9d24067268900e5e44d3325e60a1a2b2f8f556ec238ec12574fbea15fdee8a')
+source=("git://git.xfce.org/xfce/thunar#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd "$srcdir/$pkgname"
+  git describe --long | sed "s/^$pkgname-//;s/-/./g"
+}
+
 prepare() {
-  cd "$srcdir/Thunar-$pkgver"
+  cd "$srcdir/$pkgname"
 }
 
 build() {
-  cd "$srcdir/Thunar-$pkgver"
+  cd "$srcdir/$pkgname"
 
-  ./configure \
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --enable-gio-unix \
@@ -43,7 +49,7 @@
 }
 
 package() {
-  cd "$srcdir/Thunar-$pkgver"
+  cd "$srcdir/$pkgname"
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list