summaryrefslogtreecommitdiff
path: root/community/exfat-utils/PKGBUILD
blob: e44d3c8e78e6c582a66b57423234164c250fb7aa (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
# $Id: PKGBUILD 115957 2014-07-19 13:06:22Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alex <mail.avatar@gmail.com>

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

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

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

  # 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"
}