summaryrefslogtreecommitdiff
path: root/community/exfat-utils/PKGBUILD
blob: 95bf5fd88f628a6a56be1ede521494975a64e53f (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 63825 2012-02-05 21:05:12Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alex <mail.avatar@gmail.com>

pkgname=exfat-utils
pkgver=0.9.6
pkgrel=2
pkgdesc="Utilities for exFAT file system"
arch=('i686' 'x86_64')
url="http://code.google.com/p/exfat/"
license=('GPL3')
depends=('glibc')
makedepends=('scons')
source=("http://exfat.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('6722b7a919b4924bc64f86bccfedb0a6')

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  scons CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" install DESTDIR="${pkgdir}/sbin"

  # Install man pages
  install -Dm444 dump/dumpexfat.8 "${pkgdir}/usr/share/man/man8/dumpexfat.8"
  install -m444 fsck/exfatfsck.8 "${pkgdir}/usr/share/man/man8"
  install -m444 mkfs/mkexfatfs.8 "${pkgdir}/usr/share/man/man8"
  install -m444 label/exfatlabel.8 "${pkgdir}/usr/share/man/man8"
}