Package Details: libfm-gtk2 1.4.0-1

Git Clone URL: https://aur.archlinux.org/libfm-gtk2.git (read-only, click to copy)
Package Base: libfm-gtk2
Description: GTK+ 2 library for file management
Upstream URL: https://lxde.org/
Licenses: GPL
Conflicts: lxshortcut
Provides: lxshortcut
Replaces: lxshortcut
Submitter: bidulock
Maintainer: bidulock
Last Packager: bidulock
Votes: 0
Popularity: 0.000000
First Submitted: 2025-11-11 05:18 (UTC)
Last Updated: 2025-11-11 05:18 (UTC)

Latest Comments

JSpaces commented on 2025-11-14 00:44 (UTC) (edited on 2025-11-14 00:45 (UTC) by JSpaces)


# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Unknown47 <unknown47r@gmail.com>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>

_pkgname=libfm
pkgname=libfm-gtk2
pkgver=1.4.0
pkgrel=1
pkgdesc='GTK+ 2 library for file management'
url='https://lxde.org/'
arch=('x86_64')
license=('GPL')
depends=('gtk2' 'menu-cache')
provides=('lxshortcut' 'libfm' 'libfm-extra')
conflicts=('lxshortcut' 'libfm' 'libfm-extra')
makedepends=('intltool' 'gtk-doc' 'vala' 'glib2-devel')
source=(https://github.com/lxde/libfm/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('7d7b616411992389a4b7f35796109d605f30bc2ceab84d4081d1665254ebbf82')

prepare() {
  cd $_pkgname-$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

  autoreconf -fi
}

build() {
  cd $_pkgname-$pkgver
  ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --with-gnu-ld \
    --enable-gtk-doc

  #https://bugzilla.gnome.org/show_bug.cgi?id=656231
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

  make
}

package() {
  cd $_pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

This package will provide the libraries for pcmanfm-gtk2 to function normally.