1 # Maintainer: Alexandre Bique <bique.alexandre@gmail.com>
5 pkgdesc="Dokan Library is similar to FUSE(Linux user mode file system) but works on Windows. (mingw32)"
6 url="http://dokan-dev.net/en/"
9 depends=('mingw32-runtime')
11 makedepends=('mingw32-gcc' 'p7zip')
16 source=("http://dokan-dev.net/wp-content/uploads/DokanInstall_${pkgver}.exe")
17 md5sums=('51f684ffd81848224d1d92946ac9bc27')
21 7z x -y ./DokanInstall_${pkgver}.exe
26 mkdir -m 0755 -p "${pkgdir}"/usr/i486-mingw32/{include,lib,bin,share/dokan/samples/mirror}
27 install -m0755 \$SYSDIR/drivers/dokan.sys "${pkgdir}"/usr/i486-mingw32/bin
28 install -m0755 \$SYSDIR/dokan.dll "${pkgdir}"/usr/i486-mingw32/bin
29 install -m0644 \$SHELL\[17\]/Dokan/DokanLibrary/dokan.h "${pkgdir}"/usr/i486-mingw32/include/
30 install -m0644 \$SHELL\[17\]/Dokan/DokanLibrary/dokan.lib "${pkgdir}"/usr/i486-mingw32/lib/
31 install -m0755 \$SHELL\[17\]/Dokan/DokanLibrary/{mounter,dokanctl}.exe "${pkgdir}"/usr/i486-mingw32/bin/
32 install -m0644 \$SHELL\[17\]/Dokan/DokanLibrary/sample/mirror/mirror.c "${pkgdir}"/usr/i486-mingw32/share/dokan/samples/mirror/
35 # vim:set ts=2 sw=2 et: