aboutsummaryrefslogtreecommitdiffstats
path: root/community/exfat-utils
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-05-31 14:05:44 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-10 15:18:25 +0000
commit8bc47171a0ad2579776504332fb29a3e7e54a515 (patch)
tree3af44c0fe4ca9eff1049b267c023fa163deeafde /community/exfat-utils
parentcb52dc0d47d8328fb1199da109565550e84795d9 (diff)
downloadaports-8bc47171a0ad2579776504332fb29a3e7e54a515.tar.bz2
aports-8bc47171a0ad2579776504332fb29a3e7e54a515.tar.xz
community/exfat-utils: modernize
Closes GH-6608
Diffstat (limited to 'community/exfat-utils')
-rw-r--r--community/exfat-utils/APKBUILD30
1 files changed, 7 insertions, 23 deletions
diff --git a/community/exfat-utils/APKBUILD b/community/exfat-utils/APKBUILD
index 6d764cc051..7169d4d430 100644
--- a/community/exfat-utils/APKBUILD
+++ b/community/exfat-utils/APKBUILD
@@ -1,40 +1,24 @@
-# Maintainer:
+# Maintainer: TBK <alpine@jjtc.eu>
pkgname=exfat-utils
pkgver=1.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="Utilities for exFAT file system"
url="https://github.com/relan/exfat"
arch="all"
-license="GPL-2.0+"
-depends=""
-makedepends=""
-install=""
+license="GPL-2.0-or-later"
+options="!check" # no test suite
subpackages="$pkgname-doc"
-source="https://github.com/relan/exfat/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+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
+ --sbindir=/usr/sbin
+ make
}
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="e1c5b708f22e878d7521e3299866bba127145757e3620696ff11b18c8c7d4830522974e8ee4771234b70aa9718295d3433779cf34ca990e28ccc06cbf9325f7e exfat-utils-1.3.0.tar.gz"