| 1 | # Maintainer: Natanael Copa <[email protected]> |
| 2 | pkgname=dosfstools |
| 3 | pkgver=4.2 |
| 4 | pkgrel=2 |
| 5 | pkgdesc="DOS filesystem utilities" |
| 6 | url="https://github.com/dosfstools/dosfstools" |
| 7 | arch="all" |
| 8 | license="GPL-3.0-or-later" |
| 9 | makedepends="linux-headers autoconf automake libtool" |
| 10 | subpackages="$pkgname-doc" |
| 11 | source="https://github.com/dosfstools/dosfstools/releases/download/v$pkgver/dosfstools-$pkgver.tar.gz" |
| 12 | options="!check" |
| 13 | |
| 14 | prepare() { |
| 15 | default_prepare |
| 16 | ./autogen.sh |
| 17 | } |
| 18 | |
| 19 | build() { |
| 20 | ./configure \ |
| 21 | --build=$CBUILD \ |
| 22 | --host=$CHOST \ |
| 23 | --prefix=/usr \ |
| 24 | --sbindir=/sbin \ |
| 25 | --sysconfdir=/etc \ |
| 26 | --mandir=/usr/share/man \ |
| 27 | --localstatedir=/var \ |
| 28 | --disable-nls \ |
| 29 | --enable-compat-symlinks |
| 30 | make |
| 31 | } |
| 32 | |
| 33 | package() { |
| 34 | make DESTDIR="$pkgdir" install |
| 35 | } |
| 36 | |
| 37 | sha512sums="3cc0808edb4432428df8a67da4bb314fd1f27adc4a05754c1a492091741a7b6875ebd9f6a509cc4c5ad85643fc40395b6e0cadee548b25cc439cc9b725980156 dosfstools-4.2.tar.gz" |