summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruto522ru2019-02-19 23:09:13 +0000
committernaruto522ru2019-02-19 23:09:13 +0000
commit8b240c8ab9dad5be5d733c9c5bb7e0a4aaf02711 (patch)
tree7c74ba191615209abce200388ad4f58e74903b01
parenta0ec866bb09448e97ec8f9d45f6c1b272748b905 (diff)
downloadaur-8b240c8ab9dad5be5d733c9c5bb7e0a4aaf02711.tar.gz
New upd version
-rw-r--r--PKGBUILD19
-rwxr-xr-xrto-proxy-bin.install12
2 files changed, 23 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4b54070fa49..5738a4220ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
#Maintainer: naruto522ru <itachi522ru@gmail.com>
pkgname=rto-proxy-bin
-pkgver=0.1.3
+pkgver=0.2.3
pkgrel=1
pkgdesc='RuTracker proxy app based at electron + angularjs'
arch=('x86_64' 'i686')
@@ -8,17 +8,20 @@ url='https://rutracker.cr/forum/viewtopic.php?t=5403116'
license=('MIT')
depends=('gconf' 'libnotify' 'libappindicator-gtk2' 'libxtst' 'libxss' 'nss')
options=(!strip)
+install=rto-proxy-bin.install
+
+source_x86_64=("https://github.com/RutrackerOrg/rutracker-proxy/releases/download/v0.2.3/rto-proxy_0.2.3_amd64.deb" "https://www.dropbox.com/s/ghpvkkifaw6qrh8/app.asar")
+source_i686=("https://github.com/RutrackerOrg/rutracker-proxy/releases/download/v0.2.3/rto-proxy_0.2.3_i386.deb" "https://www.dropbox.com/s/ghpvkkifaw6qrh8/app.asar")
+md5sums_x86_64=('ba8229621770652696b07152d15d703b'
+ '97dcbd2db3810aa62b02f24a6fa06b92')
+md5sums_i686=('4d7ccd828131840f15b382ce5d08ff3b'
+ '97dcbd2db3810aa62b02f24a6fa06b92')
+
-source_x86_64=("https://github.com/RutrackerOrg/rutracker-proxy/releases/download/v0.1.3/rto-proxy_0.1.3_amd64.deb")
-source_i686=("https://github.com/RutrackerOrg/rutracker-proxy/releases/download/v0.1.3/rto-proxy_0.1.3_i386.deb")
-sha256sums_x86_64=('2e87ef606068a32397b36f1e39c9f53780f9c30eb2e503520a957b058104c119')
-md5sums_x86_64=('ccf210b40983f8811e9b39ff1b8fe82e')
-sha256sums_i686=('fd893568037afecb93f1e3e056d976e6db7832d38b2d0d54bfba23d5b43df130')
-md5sums_i686=('1b310dd4b25bab83716a80617f906b9f')
package() {
msg2 "Extracting the data.tar.xz..."
bsdtar -xf data.tar.xz -C "$pkgdir/"
+ install -Dm 755 "$srcdir/app.asar" "$pkgdir/opt/rto-proxy/resources/"
}
msg2 "Moving stuff in place..."
-
diff --git a/rto-proxy-bin.install b/rto-proxy-bin.install
new file mode 100755
index 00000000000..348837917e4
--- /dev/null
+++ b/rto-proxy-bin.install
@@ -0,0 +1,12 @@
+post_install() {
+echo '>>> НЕ гарантируется работа на i686!'
+echo '>>> В случае проблем просьба откатится на предыдущую версию для этого делаем:'
+echo '>>> git clone https://aur.archlinux.org/rto-proxy-bin.git'
+echo '>>> cd rto-proxy-bin'
+echo '>>> git checout a0ec866bb09448e97ec8f9d45f6c1b272748b905'
+echo '>>> #makepkg -si'
+}
+
+post_upgrade() {
+ post_install
+}