aboutsummaryrefslogblamecommitdiffstats
path: root/community/exfat-utils/APKBUILD
blob: 6d764cc051c06176fd35bd5348454f2b81742c65 (plain) (tree)
1
2
3
             
                   
            



































                                                                                                
                                                                                                                                                                       
# Maintainer:
pkgname=exfat-utils
pkgver=1.3.0
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="e1c5b708f22e878d7521e3299866bba127145757e3620696ff11b18c8c7d4830522974e8ee4771234b70aa9718295d3433779cf34ca990e28ccc06cbf9325f7e  exfat-utils-1.3.0.tar.gz"