summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorweearc2019-04-04 16:41:33 +0800
committerweearc2019-04-04 16:41:33 +0800
commit92ab24809a28f00e71a4605259729b21da0aa766 (patch)
tree06b1c9bc1ba811f09bc074be04f1d4a048d90807
parentcf142de5d61f392ea9e2d2322f76507d9484424c (diff)
downloadaur-92ab24809a28f00e71a4605259729b21da0aa766.tar.gz
update version
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
-rwxr-xr-xmotrix1
3 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7b0b872817..2a26c5a8f28 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = motrix
pkgdesc = elegent downloading tool frontend for aria2c,using vue(release version)
pkgver = git20190211
- pkgrel = 5
+ pkgrel = 1
url = https://github.com/agalwood/Motrix
arch = x86_64
license = MIT
@@ -12,7 +12,7 @@ pkgbase = motrix
source = Motrix.desktop
source = aria2.conf
source = motrix
- source = Motrix.tar.gz::https://github.com/agalwood/Motrix/archive/v1.1.1.tar.gz
+ source = Motrix.tar.gz::https://github.com/agalwood/Motrix/archive/v1.2.2.tar.gz
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index f16b1940311..5e233b4fee5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
-# Maintainer: weearc <q19981121@163.com>
+#Maintainer: weearc <q19981121@163.com>
pkgname=motrix
_pkgname=Motrix
pkgver=git20190211
-_pkgver=1.1.1
-pkgrel=5
+_pkgver=1.2.2
+pkgrel=1
epoch=
pkgdesc="elegent downloading tool frontend for aria2c,using vue(release version)"
arch=("x86_64")
@@ -48,7 +48,7 @@ prepare() {
sed -i '/"pacman"/d' $_pkgname/package.json
sed -i '/"rpm"/d' $_pkgname/package.json
sed -i 's/"AppImage"/"dir"/g' $_pkgname/package.json
-
+
}
build() {
@@ -67,7 +67,7 @@ package() {
install -Dm 777 ${srcdir}/motrix ${pkgdir}/usr/bin
# chmod a+x ${pkgdir}/usr/bin/motrix
install -Dm 644 ${srcdir}/Motrix.desktop ${pkgdir}/usr/share/applications
- rm ${pkgdir}/opt/motrix/resources/engine/aria2.conf
+ rm ${pkgdir}/opt/motrix/resources/engine/aria2.conf
install -Dm 644 ${srcdir}/aria2.conf ${pkgdir}/opt/motrix/resources/engine/aria2.conf
# ln -s /usr/bin/aria2c ${pkgdir}/opt/motrix/reources/engine/aria2
rm -rf ${srcdir}
diff --git a/motrix b/motrix
index abcf272a492..79d467bbd06 100755
--- a/motrix
+++ b/motrix
@@ -1,5 +1,4 @@
#!/bin/bash
-#!/bin/bash
if [[ ! -f "/var/cache/aria2.session" ]]
then
touch /var/cache/aria2.session;