* update fatresize to 1.1.0-2

This commit is contained in:
Alexander Baldeck 2024-08-09 14:21:24 +02:00
parent 1f0108c0b4
commit 39196c324d
3 changed files with 32 additions and 10 deletions

14
fatresize/.SRCINFO Normal file
View File

@ -0,0 +1,14 @@
pkgbase = fatresize
pkgdesc = A utility to resize FAT filesystems using libparted
pkgver = 1.1.0
pkgrel = 2
url = https://sourceforge.net/projects/fatresize/
arch = x86_64
license = GPL-3.0-or-later
makedepends = git
depends = glibc
depends = parted
source = git+https://github.com/ya-mouse/fatresize#tag=v1.1.0
sha256sums = 2f07a338f930e76db097ecc6d429bcbfdf643525e9bf68954c6212b34f11ae3c
pkgname = fatresize

View File

@ -0,0 +1,5 @@
[fatresize]
source = 'github'
github = 'ya-mouse/fatresize'
use_max_tag = true
prefix = 'v'

View File

@ -5,23 +5,26 @@
pkgname=fatresize
pkgver=1.1.0
pkgrel=1
pkgrel=2
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')
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=(GPL-3.0-or-later)
depends=(glibc
parted)
makedepends=(git)
source=(git+https://github.com/ya-mouse/fatresize#tag=v$pkgver)
sha256sums=('2f07a338f930e76db097ecc6d429bcbfdf643525e9bf68954c6212b34f11ae3c')
build() {
cd $pkgname-$pkgver
autoreconf -fisv
./configure --prefix=/usr --sbindir=/usr/bin
cd $pkgname
./configure \
--prefix=/usr \
--sbindir=/usr/bin
make
}
package() {
cd $pkgname-$pkgver
cd $pkgname
make DESTDIR="$pkgdir" install
}