summaryrefslogtreecommitdiff
path: root/community/exfat-utils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/exfat-utils/PKGBUILD')
-rw-r--r--community/exfat-utils/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/exfat-utils/PKGBUILD b/community/exfat-utils/PKGBUILD
new file mode 100644
index 000000000..011d78ed2
--- /dev/null
+++ b/community/exfat-utils/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 83561 2013-02-03 07:07:42Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Alex <mail.avatar@gmail.com>
+
+pkgname=exfat-utils
+pkgver=1.0.1
+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://exfat.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+md5sums=('e592130829d0bf61fa5e3cd1c759d329')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ scons CCFLAGS="${CFLAGS}" 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"
+}