summaryrefslogtreecommitdiff
path: root/community/fuse-exfat/PKGBUILD
blob: 2b2822f85d1bb122a4a5dca1fda6d6f3f2576cca (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
# $Id: PKGBUILD 75089 2012-08-13 17:28:00Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: GaoShichao <xgdgsc@gmail.com>

pkgname=fuse-exfat
pkgver=0.9.8
pkgrel=1
pkgdesc="Free exFAT file system implementation"
arch=('i686' 'x86_64')
url="http://code.google.com/p/exfat/"
license=('GPL3')
depends=('fuse')
makedepends=('scons')
optdepends=('exfat-utils: utilities for exFAT file system'
            'util-linux: to mount exFAT volumes automatically')
source=("http://exfat.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('59ff35d4ec8e53a79359edc53a6ab534')

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  scons CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS} " install DESTDIR="${pkgdir}/usr/bin"

  # Install man page
  install -Dm444 fuse/mount.exfat-fuse.8 "${pkgdir}/usr/share/man/man8/mount.exfat-fuse.8"
}