PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

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

43 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334353637383940414243
pkgname: 'ntfs-3g'
pkgver: '2026.9.28'
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:
- util-linux
makedepends:
- libtool
- autoconf
- automake
- libgcrypt

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

sha256sums:
- 8a75293f07bf40df5701d296de32a4cb0e46d6ae135abb4f41b438df9868a390

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