Date: Friday, March 3, 2023 @ 09:13:33 Author: alerque Revision: 1409190
upgpkg: exfat-utils 1.4.0-1 Modified: exfat-utils/trunk/PKGBUILD ----------+ PKGBUILD | 49 +++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 24 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-03 09:12:02 UTC (rev 1409189) +++ PKGBUILD 2023-03-03 09:13:33 UTC (rev 1409190) @@ -1,38 +1,39 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Maintainer: Caleb Maclennan <[email protected]> +# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org> # Contributor: Giovanni Scafora <[email protected]> # Contributor: Alex <[email protected]> pkgname=exfat-utils -pkgver=1.3.0 -pkgrel=2 +_pkgname=${pkgname%-utils} +pkgver=1.4.0 +pkgrel=1 pkgdesc='Utilities for exFAT file system' -url='https://github.com/relan/exfat' -arch=('x86_64') -license=('GPL2') -depends=('glibc' 'fuse2') -conflicts=('fuse-exfat') -provides=('fuse-exfat') -replaces=('fuse-exfat') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/relan/exfat/archive/v${pkgver}.tar.gz) -sha512sums=('fa3951e16889db65685e1fb71b0c75fc7014a8025c3442bf6164b94ddd51d282a8ae5e891c46195be53d2a10d62444e2fa1bb3fa3de59c2c3411c6dac363b488') +url="https://github.com/relan/$_pkgname" +arch=(x86_64) +license=(GPL2) +depends=(glibc fuse2) +conflicts=(fuse-exfat) +provides=(fuse-exfat) +replaces=(fuse-exfat) +_archive="${_pkgname}-$pkgver" +source=("$url/archive/v$pkgver/$_archive.tar.gz") +sha256sums=('af560659f55dca0270f94809530f359d6bdad5d313133c68b458fb0a8eeab1c8') prepare() { - cd exfat-${pkgver} - autoreconf -fiv + cd "$_archive" + autoreconf -fiv } build() { - cd exfat-${pkgver} - ./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 exfat-${pkgver} - make DESTDIR="${pkgdir}" install - install -Dm 644 */*.8 -t "${pkgdir}/usr/share/man/man8" + cd "$_archive" + make DESTDIR="$pkgdir" install + install -Dm 644 */*.8 -t "$pkgdir/usr/share/man/man8" } - -# vim: ts=2 sw=2 et:
