* add fatresize

This commit is contained in:
Alexander Baldeck 2021-01-20 01:00:53 +00:00
parent 3919eb6c81
commit 60e2a3ef4f

27
fatresize/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: ValHue <vhuelamo at gmail dot com>
# Contributor: Alexander Blinne <alexander[at]blinne[dot]net>
pkgname=fatresize
pkgver=1.1.0
pkgrel=1
pkgdesc='A utility to resize FAT filesystems using libparted'
url='https://sourceforge.net/projects/fatresize/'
arch=(x86_64 powerpc64le powerpc)
license=(GPL3)
depends=(parted)
source=($pkgname-$pkgver.tar.gz::"https://github.com/ya-mouse/fatresize/archive/v$pkgver.tar.gz")
sha256sums=('9232bc354b6c49a9e695e071bfd2d62ec79cdf4bc84928fcf1967fa39b75c33e')
build() {
cd $pkgname-$pkgver
autoreconf -fisv
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}