1 # Contributor: Vladimir Navrat <vn158 at seznam dot cz>
5 pkgdesc="Free SFTP, FTP and SCP client for Wine"
7 url="http://winscp.net/"
10 [ "$CARCH" = i686 ] && depends=(wine)
11 [ "$CARCH" = x86_64 ] && depends=(bin32-wine)
13 _pkgver=$(echo $pkgver | sed "s/\.//g")
14 source=($pkgname $pkgname.desktop $pkgname.png http://winscp.net/download/winscp429.zip)
15 md5sums=('0daf717715d575669c20d98dee547f43' '36dbc4e0b3d979a0788b0d4801648698'
16 'f4d0f48fc2739f4844bdcc49ab1ce4f0' '5cb455e2f895126d49d75f00e6ce286e')
17 sha1sums=('bc1969bb86c973e8ea5d46568e8b12a121021610'
18 '10fffe182af83285c2b8e6bd92bfbe1ddf6a6dca'
19 '72b65f619bc349c581db7d061c4471e9b7621dca'
20 'ec1964c97e98293cb1213553d37cc6a2fd5b37fc')
21 sha256sums=('91fb727d52971faed78799c4bc803f2ae64daabc6bc9cb3af156c9f01da301bf'
22 '9ce0378877a9633c3f4e1e8ead70c291c60949c27e7f5c64a9813a41dba49f20'
23 '3cb0908420a8d8049304592a18876d275316e74331133436717d74941f8c4cdb'
24 '37ef178c01dc65b16649b32103796f16d34939f27165aa664de824af85d70a66')
31 install -d -m755 pkg/usr/share/$pkgname
32 install -m644 $srcdir/WinSCP.exe pkg/usr/share/$pkgname/$pkgname.exe
34 install -d -m755 pkg/usr/share/applications
35 install -m644 $pkgname.desktop pkg/usr/share/applications/$pkgname.desktop
37 install -d -m755 pkg/usr/share/pixmaps
38 install -m644 $pkgname.png pkg/usr/share/pixmaps/$pkgname.png
40 install -d -m755 pkg/usr/bin
41 install -m755 $pkgname pkg/usr/bin