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

Balló György bgyorgy at archlinux.org
Sat Jan 13 10:59:42 UTC 2018


    Date: Saturday, January 13, 2018 @ 10:59:41
  Author: bgyorgy
Revision: 281800

upgpkg: libfm 1.2.5-2

Fix build by disabling documentation, update xarchiver option

Modified:
  libfm/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-13 10:25:36 UTC (rev 281799)
+++ PKGBUILD	2018-01-13 10:59:41 UTC (rev 281800)
@@ -8,16 +8,23 @@
 pkgbase=libfm
 pkgname=(libfm libfm-extra libfm-gtk2 libfm-gtk3)
 pkgver=1.2.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Library for file management'
 url='https://lxde.org/'
 arch=('x86_64')
 license=('GPL')
 depends=('gtk2' 'gtk3' 'libexif' 'menu-cache')
-makedepends=('intltool' 'gtk-doc')
+makedepends=('intltool') # 'gtk-doc'
 source=(https://downloads.sourceforge.net/pcmanfm/libfm-$pkgver.tar.xz)
 sha256sums=('c706bb1020cf5f2d6f5a9226f692ce1985947134dcf2bde64278bd0420779b5a')
 
+prepare() {
+  cd $pkgbase-$pkgver
+  # Update xarchiver option
+  # https://github.com/lxde/libfm/issues/35
+  sed -i 's/create=xarchiver --add-to %F/create=xarchiver --compress %F/' data/archivers.list
+}
+
 build() {
   # GTK+ 2 version
   [ -d gtk2 ] || cp -r $pkgbase-$pkgver gtk2
@@ -24,8 +31,8 @@
   cd gtk2
   ./configure --prefix=/usr \
     --sysconfdir=/etc \
-    --enable-gtk-doc \
     --with-gnu-ld
+  # --enable-gtk-doc - documentation fails to build
 
   #https://bugzilla.gnome.org/show_bug.cgi?id=656231
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool



More information about the arch-commits mailing list