* update exfat-utils to 1.4.0-2

This commit is contained in:
Alexander Baldeck 2023-07-24 19:45:26 +02:00
parent adfc0eb213
commit acc0e638d8

View File

@ -1,4 +1,3 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
@ -7,12 +6,13 @@
pkgname=exfat-utils
_pkgname=${pkgname%-utils}
pkgver=1.4.0
pkgrel=1
pkgrel=2
pkgdesc='Utilities for exFAT file system'
url="https://github.com/relan/$_pkgname"
arch=(x86_64 powerpc64le powerpc)
license=(GPL2)
depends=(glibc fuse2)
depends=(glibc
fuse3)
conflicts=(fuse-exfat)
provides=(fuse-exfat)
replaces=(fuse-exfat)
@ -21,20 +21,20 @@ source=("$url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('af560659f55dca0270f94809530f359d6bdad5d313133c68b458fb0a8eeab1c8')
prepare() {
cd "$_archive"
autoreconf -fiv
cd "$_archive"
autoreconf -fiv
}
build() {
cd "$_archive"
./configure \
--prefix=/usr \
--sbindir=/usr/bin
make CCFLAGS="$CFLAGS $CPPFLAGS -std=c99" LINKFLAGS="$LDFLAGS"
cd "$_archive"
./configure \
--prefix=/usr \
--sbindir=/usr/bin
make CCFLAGS="$CFLAGS $CPPFLAGS -std=c99" LINKFLAGS="$LDFLAGS"
}
package() {
cd "$_archive"
make DESTDIR="$pkgdir" install
install -Dm 644 */*.8 -t "$pkgdir/usr/share/man/man8"
cd "$_archive"
make DESTDIR="$pkgdir" install
install -Dm0644 -t "$pkgdir/usr/share/man/man8" */*.8
}