# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=fatresize pkgver=1.1.0 pkgrel=0 pkgdesc="The FAT16/FAT32 non-destructive resizer." url="https://sourceforge.net/projects/fatresize/" arch="all" license="GPL-3.0-or-later" makedepends="automake autoconf parted-dev e2fsprogs-dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/ya-mouse/fatresize/archive/v$pkgver.tar.gz" prepare() { default_prepare autoreconf -fisv } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-largefile make } check() { make check } package() { make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } sha512sums="e4de417fffcceab071571c878f93bb68c7a7fa4f3ab89e272f533940669ffeaa0cb36967dc8fd7cdeda935ef352bce735dd4dac579a2291d9c01447648e8d40f fatresize-1.1.0.tar.gz"