blob: 99b9340fb4ae166ae836c9f43db7de7913e3d472 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fuse-exfat
_pkgreal=exfat
pkgver=1.2.8
pkgrel=0
pkgdesc="Free exFAT file system implementation"
url="https://github.com/relan/exfat"
arch="all"
license="GPL-2.0-or-later"
options="!check" # No test suite
provides="$_pkgreal"
depends="fuse"
makedepends="autoconf automake fuse-dev"
subpackages="$pkgname-doc $pkgname-utils"
source="$_pkgreal-$pkgver.tar.gz::https://github.com/relan/$_pkgreal/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
autoreconf --install
./configure --prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
utils() {
pkgdesc="$pkgdesc (utilities)"
provides="$_pkgreal-utils"
mkdir -p "$subpkgdir"/usr/sbin
local file; for file in $(find "$pkgdir"/usr/sbin ! -name "mount*" -a ! -type d); do
mv $file "$subpkgdir"/${file#$pkgdir}
done
}
sha512sums="2805d8a59c53db348265943bfd5537aa1dfc87582fb1a3e9cba6ab112b93632be3c0932f72b57c7839d60faf1d455f56fd7d7a7f49e3e9419f4b6715332e939a exfat-1.2.8.tar.gz"
|