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

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 3 11:27:56 UTC 2018


    Date: Tuesday, July 3, 2018 @ 11:27:55
  Author: foutrelis
Revision: 327929

upgpkg: thunar 1.8.1.11.gf5147445-1

Pull fixes from the xfce-4.14 branch (FS#59216).

Modified:
  thunar/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-03 11:11:22 UTC (rev 327928)
+++ PKGBUILD	2018-07-03 11:27:55 UTC (rev 327929)
@@ -3,7 +3,8 @@
 # Contributor: Andrew Simmons <andrew.simmons at gmail.com>
 
 pkgname=thunar
-pkgver=1.8.1
+pkgver=1.8.1.11.gf5147445
+_commit=f5147445322100285071a7f09cd542a06babddd1
 pkgrel=1
 pkgdesc="Modern file manager for Xfce"
 arch=('x86_64')
@@ -12,7 +13,7 @@
 groups=('xfce4')
 depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify'
          'libgudev' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng')
-makedepends=('intltool' 'xfce4-panel' 'xfce4-dev-tools')
+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,23 @@
             'thunar-volman: manages removable devices'
             'thunar-archive-plugin: create and deflate archives'
             'thunar-media-tags-plugin: view/edit id3/ogg tags')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/Thunar-$pkgver.tar.bz2)
-sha256sums=('96fabaa68db32f513e9bcb34fa2a26c1462127727fad0bc25a8a5ba9aab4c12c')
+#source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname.tar.bz2)
+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 \
@@ -37,12 +44,13 @@
     --enable-notifications \
     --enable-exif \
     --enable-pcre \
+    --enable-gtk-doc \
     --disable-debug
   make
 }
 
 package() {
-  cd "$srcdir/Thunar-$pkgver"
+  cd "$srcdir/$pkgname"
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list