summaryrefslogblamecommitdiff
path: root/user/dosfstools/APKBUILD
blob: 0ee614c9479f164fa6a61c9997262222e79f1a3f (plain) (tree)





































                                                                                                                                                                    
# Maintainer: 
pkgname=dosfstools
pkgver=4.1
pkgrel=3
pkgdesc="DOS filesystem utilities"
url="https://github.com/dosfstools/dosfstools"
arch="all"
license="GPL-3.0+"
depends=""
makedepends="linux-headers"
checkdepends="vim"
subpackages="$pkgname-doc"
source="https://github.com/dosfstools/dosfstools/releases/download/v$pkgver/dosfstools-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-compat-symlinks
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="e7a8aab34255d15e6865a7b031971352af1255134fab83389673bcc3cbd6ba255241bd2429070aeb4b927f8d7d73ccf1aeafe94566b133e88e7586897c317b78  dosfstools-4.1.tar.xz"