core/exfat-utils/PKGBUILD

36 lines
779 B
Bash
Raw Normal View History

2016-11-21 02:35:52 +08:00
pkgname=exfat-utils
2018-04-11 21:24:51 +08:00
pkgver=1.2.8
pkgrel=1
2016-11-21 02:35:52 +08:00
pkgdesc="Utilities for exFAT file system"
arch=('x86_64')
2018-04-11 21:24:51 +08:00
url='https://github.com/relan/exfat'
2016-11-21 02:35:52 +08:00
license=('GPL2')
2018-04-11 21:24:51 +08:00
depends=('glibc' 'fuse2')
2016-11-21 02:35:52 +08:00
conflicts=('fuse-exfat')
provides=('fuse-exfat')
replaces=('fuse-exfat')
2018-04-11 21:24:51 +08:00
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/relan/exfat/archive/v${pkgver}.tar.gz)
sha256sums=('778474bfbcd92e35bba5b88bd7ad3f6400328256636abb9031bfcc1ce15ed887')
2016-11-21 02:35:52 +08:00
2018-04-11 21:24:51 +08:00
prepare() {
cd exfat-${pkgver}
autoreconf -fiv
}
2016-11-21 02:35:52 +08:00
build() {
cd exfat-$pkgver
2018-04-11 21:24:51 +08:00
2016-11-21 02:35:52 +08:00
./configure --prefix=/usr \
--sbindir=/usr/bin
2018-04-11 21:24:51 +08:00
make CCFLAGS="${CFLAGS} ${CPPFLAGS} -std=c99" LINKFLAGS="${LDFLAGS}"
2016-11-21 02:35:52 +08:00
}
package() {
cd exfat-$pkgver
make DESTDIR=$pkgdir install
2018-04-11 21:24:51 +08:00
install -Dm 644 */*.8 -t "${pkgdir}/usr/share/man/man8"
}