🔒 Repository is read-only – file editing is disabled.

recipes/utils/ntfs-3g/PAGBUILD.yaml main

42 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839404142
pkgname: 'ntfs-3g'
pkgver: '2026.7.7'
pkgrel: '1'
pkgdesc: 'The Ntfs-3g package contains a stable, read-write open source driver for NTFS partitions.'
url: 'https://www.ntfs-3g.org'
arch: x86_64
depends: []
makedepends:
- libtool
- autoconf
- automake
- libgcrypt

source:
- 'https://github.com/tuxera/ntfs-3g/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  autoreconf -fiv
  sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in

  ./configure --prefix=/usr \
  --disable-static    \
  --libdir=/usr/lib   \
  --bindir=/usr/bin   \
  --sbindir=/usr/bin  \
  --with-fuse=internal

  make

  make DESTDIR=${PKGDIR} rootbindir=/usr/bin \
  rootsbindir=/usr/bin rootlibdir=/usr/lib install
  ln -s /usr/bin/ntfs-3g ${PKGDIR}/usr/bin/mount.ntfs
  ln -s ntfs-3g.8 ${PKGDIR}/usr/share/man/man8/mount.ntfs.8

  rm -f ${PKGDIR}/usr/lib/lib${pkgname}.la

package: |
  true