blob: 11c542a51273a8a545d3021ab589fd97aa9786a3 (
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
41
42
43
44
45
46
|
#!/bin/mkpkg
# description: NTFS read/write filesystem driver via FUSE
# url: https://github.com/tuxera/ntfs-3g
name=ntfs-3g
version=2026.9.18
release=1
source=(https://tuxera.com/opensource/ntfs-3g_ntfsprogs-$version.tgz)
renames=($name-$version.tgz)
sha256sums=(
"bcf3cf301a79e42d330128ffb52d4cf615bd1d30c10a92d9d8d14f2bb4fcd9bf"
)
build() {
cd ntfs-3g-$version
./configure \
--prefix=/usr \
--sbindir=/usr/sbin \
--disable-static \
--enable-posix-acls \
--with-fuse=internal
make
mkdir -p $PKG/lib
make DESTDIR=$PKG install
# Move to /usr hierarchy
mv $PKG/lib/* $PKG/usr/lib/
mv $PKG/bin/* $PKG/usr/bin/
mv $PKG/sbin/* $PKG/usr/sbin/
rmdir $PKG/bin $PKG/sbin $PKG/lib
# Fix mount symlinks
ln -sf /usr/bin/ntfs-3g $PKG/usr/sbin/mount.ntfs
ln -sf /usr/bin/lowntfs-3g $PKG/usr/sbin/mount.lowntfs-3g
# Create mount.ntfs symlink
ln -sf ntfs-3g $PKG/usr/sbin/mount.ntfs
# Clean up libtool archives
find $PKG -name '*.a' -delete
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|