pkgname=ntfs-3g _pkgname=ntfs-3g_ntfsprogs pkgver=2022.10.3 pkgrel=1 pkgdesc="Stable read and write NTFS driver" url="https://www.tuxera.com/company/open-source/" arch=('x86_64') license=('GPL2') depends=('glibc' 'fuse' 'util-linux') makedepends=('pkgconfig') options=('!libtool') conflicts=('ntfsprogs') provides=("ntfsprogs=${pkgver}") # https://github.com/tuxera/ntfs-3g/releases source=("https://www.tuxera.com/opensource/${_pkgname}-${pkgver}.tgz" 'CVE-2019-9755.patch') md5sums=('a038af61be7584b79f8922ff11244090' '38f3ee38f666ce30cf03336b9405da9a') build() { cd ${_pkgname}-${pkgver} #patch -p1 -i ${srcdir}/CVE-2019-9755.patch ./configure --prefix=/usr \ --with-fuse=external \ --disable-static \ --enable-posix-acls \ --enable-extras \ --enable-crypto \ --disable-ldconfig \ --mandir=/usr/share/man make } package() { cd ${_pkgname}-${pkgver} make DESTDIR=${pkgdir} rootlibdir=/usr/lib install ln -s /bin/ntfs-3g ${pkgdir}/sbin/mount.ntfs }