updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / mingw32-dokan / PKGBUILD
blobc58ed45ca4029faf2d663ed45ad97d2d910ee458
1 # Maintainer: Alexandre Bique <bique.alexandre@gmail.com>
2 pkgname=mingw32-dokan
3 pkgver=0.6.0
4 pkgrel=2
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/"
7 arch=('any')
8 license=('LGPL')
9 depends=('mingw32-runtime')
10 optdepends=()
11 makedepends=('mingw32-gcc' 'p7zip')
12 options=('!strip')
13 conflicts=()
14 replaces=()
15 backup=()
16 source=("http://dokan-dev.net/wp-content/uploads/DokanInstall_${pkgver}.exe")
17 md5sums=('51f684ffd81848224d1d92946ac9bc27')
19 build() {
20   cd "${srcdir}"
21   7z x -y ./DokanInstall_${pkgver}.exe
24 package() {
25   cd "${srcdir}"
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: