1 # Maintainer: Robert McCathie <archaur at rmcc dot com dot au>
2 # Contributor: Juergen Hoetzel <juergen@archlinux.org>
7 pkgdesc="File manager of the LXDE Desktop (with IgnorantGuru's workaround for GTK 2.20 - https://bugzilla.gnome.org/show_bug.cgi?id=612802 (comment 12))"
9 url="http://pcmanfm.sourceforge.net/"
11 depends=('gtk2' 'hal' 'fam' 'startup-notification' 'shared-mime-info' 'desktop-file-utils')
12 makedepends=('intltool' 'pkgconfig')
15 install=pcmanfm.install
16 source=(http://downloads.sourceforge.net/pcmanfm/pcmanfm-$pkgver.tar.bz2 0001-remove-invalid-trailing-newline-in-msgstr.patch gtk220workaround.patch)
17 md5sums=('750f89cbe7496e5f4c09e4c5a95dec6e' '80c9b6327bc664dcae6882a42a27a940' '81636e89aac6fbbe1d983a4276ef1d3c')
19 cd "$srcdir/pcmanfm-$pkgver"
20 patch -p1 -i $srcdir/0001-remove-invalid-trailing-newline-in-msgstr.patch || return 1
21 patch -p0 < $srcdir/gtk220workaround.patch || return 1
22 ./configure --sysconfdir=/etc --prefix=/usr || return 1
24 make DESTDIR="$pkgdir" install || return 1