diff options
author | Muflone | 2015-06-13 17:59:25 +0200 |
---|---|---|
committer | Muflone | 2015-06-13 17:59:25 +0200 |
commit | af4768eb741c171ee91cc8a066081df281f867f0 (patch) | |
tree | 434ffb4dd2c329ecf371371191b1e5a27013aefc | |
download | aur-af4768eb741c171ee91cc8a066081df281f867f0.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 38 | ||||
-rw-r--r-- | PKGBUILD | 51 | ||||
-rw-r--r-- | winscp | 15 | ||||
-rw-r--r-- | winscp-128.png | bin | 0 -> 13811 bytes | |||
-rw-r--r-- | winscp-16.png | bin | 0 -> 703 bytes | |||
-rw-r--r-- | winscp-24.png | bin | 0 -> 1311 bytes | |||
-rw-r--r-- | winscp-256.png | bin | 0 -> 40936 bytes | |||
-rw-r--r-- | winscp-32.png | bin | 0 -> 1931 bytes | |||
-rw-r--r-- | winscp-48.png | bin | 0 -> 3632 bytes | |||
-rw-r--r-- | winscp-64.png | bin | 0 -> 5338 bytes | |||
-rw-r--r-- | winscp.desktop | 13 | ||||
-rw-r--r-- | winscp.install | 12 | ||||
-rw-r--r-- | winscp_default_configuration.ini | 7 |
13 files changed, 136 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f9b65ae0e405 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,38 @@ +pkgbase = winscp + pkgdesc = Free SFTP, SCP and FTP client for Wine + pkgver = 5.5.6 + pkgrel = 1 + url = http://winscp.net/ + install = winscp.install + arch = any + license = GPL + makedepends = unzip + depends = wine + depends = hicolor-icon-theme + depends = gtk-update-icon-cache + depends = desktop-file-utils + source = http://downloads.sourceforge.net/project/winscp/WinSCP/5.5.6/winscp556.zip + source = winscp + source = winscp.desktop + source = winscp-16.png + source = winscp-24.png + source = winscp-32.png + source = winscp-48.png + source = winscp-64.png + source = winscp-128.png + source = winscp-256.png + source = winscp_default_configuration.ini + sha256sums = 82eed5e338b7125b91c36bf80210b002c7d344a04ea004f9efcdad37767be811 + sha256sums = 322f3f8d4a29a2e5a40c057ffadf6566ff21233b5f8367a749618e5b4d845fc9 + sha256sums = 67eba469b8f34ccc2342ea54b14601f13a245af5e0d4ea574786efdd33fc285c + sha256sums = 0c28369a4b35713ade79a158b4ee0e28576561c7ba0b8766dbbc0f63d0748ea2 + sha256sums = f0be502bd349e0444f1aa39c23737fd4b886370c24723e42fca5e9b45a5f513c + sha256sums = 893ed717af8ba6610874554bbd9b423daaf747a472be93ed6794486bfbcf9065 + sha256sums = fff3a8f3eff1b2eaace0c8c5c02f7be78579325c0c035a6620595bf2dea0162d + sha256sums = 8230504efe2ff8af84ddc162e492d388aeace873c12e46ebe84c68aa9221616e + sha256sums = 695540754113cbb61ee2ce4dafd0825c3f864092e805bfbb5abc05c09d16f50d + sha256sums = d09939d5a1c964243eae5ec574148f267b5a3032e8571aba9eca3ee8eaca307f + sha256sums = e55a284b81e55c2dfe330fd7e002b3b6f1224253a67cdf1d34dea35a26d6d1e1 + +pkgname = winscp + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..81acfbbd9843 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Vladimir Navrat <vn158 at seznam dot cz> + +pkgname=winscp +pkgver=5.5.6 +pkgrel=1 +pkgdesc="Free SFTP, SCP and FTP client for Wine" +arch=(any) +url="http://winscp.net/" +license=('GPL') +depends=(wine hicolor-icon-theme gtk-update-icon-cache desktop-file-utils) +makedepends=(unzip) +source=("http://downloads.sourceforge.net/project/winscp/WinSCP/${pkgver}/${pkgname}${pkgver//./}.zip" + "${pkgname}" + "${pkgname}.desktop" + "${pkgname}-16.png" + "${pkgname}-24.png" + "${pkgname}-32.png" + "${pkgname}-48.png" + "${pkgname}-64.png" + "${pkgname}-128.png" + "${pkgname}-256.png" + "${pkgname}_default_configuration.ini") +sha256sums=('82eed5e338b7125b91c36bf80210b002c7d344a04ea004f9efcdad37767be811' + '322f3f8d4a29a2e5a40c057ffadf6566ff21233b5f8367a749618e5b4d845fc9' + '67eba469b8f34ccc2342ea54b14601f13a245af5e0d4ea574786efdd33fc285c' + '0c28369a4b35713ade79a158b4ee0e28576561c7ba0b8766dbbc0f63d0748ea2' + 'f0be502bd349e0444f1aa39c23737fd4b886370c24723e42fca5e9b45a5f513c' + '893ed717af8ba6610874554bbd9b423daaf747a472be93ed6794486bfbcf9065' + 'fff3a8f3eff1b2eaace0c8c5c02f7be78579325c0c035a6620595bf2dea0162d' + '8230504efe2ff8af84ddc162e492d388aeace873c12e46ebe84c68aa9221616e' + '695540754113cbb61ee2ce4dafd0825c3f864092e805bfbb5abc05c09d16f50d' + 'd09939d5a1c964243eae5ec574148f267b5a3032e8571aba9eca3ee8eaca307f' + 'e55a284b81e55c2dfe330fd7e002b3b6f1224253a67cdf1d34dea35a26d6d1e1') +install="${pkgname}.install" + +package() { + # Install binary files + install -m 644 -D "${srcdir}/WinSCP.exe" "${pkgdir}/usr/share/${pkgname}/${pkgname}.exe" + # Install default configuration file + install -m 644 -D "${srcdir}/${pkgname}_default_configuration.ini" "${pkgdir}/usr/share/${pkgname}/${pkgname}_default_configuration.ini" + # Install startup script + install -m 755 -D "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + # Install icons + for _size in 16 24 32 48 64 128 256 + do + install -m 644 -D ${pkgname}-${_size}.png "$pkgdir/usr/share/icons/hicolor/${_size}x${_size}/apps/${pkgname}.png" + done + # Install desktop file + install -m 644 -D ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" +} diff --git a/winscp b/winscp new file mode 100644 index 000000000000..2213ce23bf4a --- /dev/null +++ b/winscp @@ -0,0 +1,15 @@ +#!/bin/bash +APPLICATION=winscp +CONFIG_DIR="$HOME/.${APPLICATION}" + +export WINEPREFIX="${CONFIG_DIR}" +export WINEDLLOVERRIDES="mscoree,mshtml,winemp3.acm=" + +if [ ! -d "${WINEPREFIX}" ] ; then + mkdir -p "${WINEPREFIX}" || exit 1 + wineboot -u + ln -sf "/usr/share/${APPLICATION}/${APPLICATION}.exe" "${CONFIG_DIR}/" || exit 1 + cp -f "/usr/share/${APPLICATION}/${APPLICATION}_default_configuration.ini" "${CONFIG_DIR}/${APPLICATION}.ini" || exit 1 +fi + +wine "${CONFIG_DIR}/${APPLICATION}.exe" "$@" diff --git a/winscp-128.png b/winscp-128.png Binary files differnew file mode 100644 index 000000000000..869aae2905a7 --- /dev/null +++ b/winscp-128.png diff --git a/winscp-16.png b/winscp-16.png Binary files differnew file mode 100644 index 000000000000..9bf92f415d64 --- /dev/null +++ b/winscp-16.png diff --git a/winscp-24.png b/winscp-24.png Binary files differnew file mode 100644 index 000000000000..40e1e76c4a65 --- /dev/null +++ b/winscp-24.png diff --git a/winscp-256.png b/winscp-256.png Binary files differnew file mode 100644 index 000000000000..a41394ce4eef --- /dev/null +++ b/winscp-256.png diff --git a/winscp-32.png b/winscp-32.png Binary files differnew file mode 100644 index 000000000000..ee04e1b7ff91 --- /dev/null +++ b/winscp-32.png diff --git a/winscp-48.png b/winscp-48.png Binary files differnew file mode 100644 index 000000000000..e179b63202ba --- /dev/null +++ b/winscp-48.png diff --git a/winscp-64.png b/winscp-64.png Binary files differnew file mode 100644 index 000000000000..7984577acd2f --- /dev/null +++ b/winscp-64.png diff --git a/winscp.desktop b/winscp.desktop new file mode 100644 index 000000000000..1e7de5d59ac7 --- /dev/null +++ b/winscp.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name=WinSCP +GenericName=SFTP, SCP and FTP client +GenericName[cs]=SFTP, SCP a FTP klient +Comment=safe copying of files between a local and a remote computer +Comment[cs]=bezpečné kopírování souboru mezi místním a vzdáleným počítačem +Exec=winscp +StartupNotify=true +Icon=winscp +Terminal=false +X-MultipleArgs=false +Type=Application +Categories=Network; diff --git a/winscp.install b/winscp.install new file mode 100644 index 000000000000..71627fa64211 --- /dev/null +++ b/winscp.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/winscp_default_configuration.ini b/winscp_default_configuration.ini new file mode 100644 index 000000000000..4d788dd18ddf --- /dev/null +++ b/winscp_default_configuration.ini @@ -0,0 +1,7 @@ +[Configuration]
+
+[Configuration\Interface]
+RandomSeedFile=.\winscp.rnd
+DDTemporaryDirectory=.\
+PuttyPath=%25WINSCP_PATH%25%5Cputty.exe
+
|