Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions switch/ntfs-3g/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pkgname=switch-ntfs-3g
pkgver=2022.10.3
pkgrel=2
pkgrel=3
pkgdesc='An open source, freely available read/write NTFS driver'
arch=('any')
url='https://www.tuxera.com/community/open-source-ntfs-3g/'
Expand All @@ -17,6 +17,9 @@ source=(
"ntfs-3g-${pkgver}.patch"
)

sha256sums=('8bd7749ea9d8534c9f0664d48b576e90b96d45ec8803c9427f6ffaa2f0dde299'
'484253654d8a0ed090b20a1b37deba54b1537dd688531c8e914e4494b5a2cd8f')

prepare() {
cd "ntfs-3g-${pkgver}"
patch -Np1 -i "${srcdir}/ntfs-3g-${pkgver}.patch"
Expand Down Expand Up @@ -47,12 +50,10 @@ package() {

source /opt/devkitpro/switchvars.sh

make install DESTDIR=${pkgdir}
make install DESTDIR="${pkgdir}"

install -Dm644 COPYING "${pkgdir}${PORTLIBS_PREFIX}/licenses/${pkgname}/COPYING"
install -Dm644 config.h "${pkgdir}${PORTLIBS_PREFIX}/include/ntfs-3g/config.h"

rm -fr "${pkgdir}${PORTLIBS_PREFIX}/share"
}

sha256sums=('8bd7749ea9d8534c9f0664d48b576e90b96d45ec8803c9427f6ffaa2f0dde299'
'484253654d8a0ed090b20a1b37deba54b1537dd688531c8e914e4494b5a2cd8f')