aboutsummaryrefslogtreecommitdiffstats
path: root/testing/exfat-utils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-28 14:39:48 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-28 14:39:48 -0600
commit1260e665377aeb3ccf11cdd5278d758588b7a711 (patch)
tree44b2a0239b3bcc462c3a4c90922e0b63cb955087 /testing/exfat-utils/APKBUILD
parent56826afa0399402f00f4078ff3b8b08f7f5c9093 (diff)
downloadaports-1260e665377aeb3ccf11cdd5278d758588b7a711.tar.gz
aports-1260e665377aeb3ccf11cdd5278d758588b7a711.tar.bz2
aports-1260e665377aeb3ccf11cdd5278d758588b7a711.tar.xz
testing/exfat-utils: new aport
Diffstat (limited to 'testing/exfat-utils/APKBUILD')
-rw-r--r--testing/exfat-utils/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/exfat-utils/APKBUILD b/testing/exfat-utils/APKBUILD
new file mode 100644
index 0000000000..f4829f1399
--- /dev/null
+++ b/testing/exfat-utils/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=exfat-utils
+pkgver=1.2.8
+pkgrel=0
+pkgdesc="Utilities for exFAT file system"
+url="https://github.com/relan/exfat"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends=""
+install=""
+subpackages="$pkgname-doc"
+source="https://github.com/relan/exfat/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+
+build() {
+ cd "$builddir"
+
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin
+ make CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS}"
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+
+ # 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"
+}
+
+sha512sums="98acebf74fe5f5181098cdd880303d6c78d5aa88aa7a87d5371c887e4614536b19a24d48526b235de034fad26b68ddaf4f286b68b5963e95cc1cf7cee1c7b58c exfat-utils-1.2.8.tar.gz"