summaryrefslogtreecommitdiff
path: root/community/fuse-exfat/PKGBUILD
blob: 9a0dc5b7a57830794d7aa029a7d4121817859f15 (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 115959 2014-07-19 13:14:14Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: GaoShichao <xgdgsc@gmail.com>

pkgname=fuse-exfat
pkgver=1.1.0
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://pkgbuild.com/~giovanni/exfat/${pkgname}-${pkgver}.tar.gz")
md5sums=('b2a23c032661cb1c1da4514e7af33916')

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

  scons CCFLAGS="${CFLAGS} -std=c99" 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"
}