summaryrefslogtreecommitdiff
path: root/community/libfm/PKGBUILD
blob: 3a1d121fd244a40dd36ed531ae980d2383f8a7fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 49034 2011-06-09 21:26:14Z andrea $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>

pkgname=libfm
pkgver=0.1.14
pkgrel=5
pkgdesc="the core of next generation file manager PCManFM"
url="http://pcmanfm.sourceforge.net/"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
groups=('lxde')
options=('!libtool')
install=libfm.install
depends=('gtk2' 'menu-cache' 'shared-mime-info' 'udisks')
source=(http://downloads.sourceforge.net/pcmanfm/$pkgname-$pkgver.tar.gz
	0001-filename-with-spaces-not-supported.patch)
md5sums=('d55e51dced6bb9ef46665243b079761f'
         '22bf07665db6eb82989cc8111ef5c3bf')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -p1 -i $srcdir/0001-filename-with-spaces-not-supported.patch
  ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --enable-udisks \
    --with-gnu-ld 
  make 
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}