summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorweearc2019-04-28 22:45:45 +0800
committerweearc2019-04-28 22:45:45 +0800
commit7beaa7e253f3b692d078799a9d451031e58eac72 (patch)
treef1f02de2c9630fb22f1b9b48db8210d08abeba51
parent102fec7bdb20dc59c9fad6c236db61340a766511 (diff)
downloadaur-7beaa7e253f3b692d078799a9d451031e58eac72.tar.gz
update version
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 25 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a26c5a8f28..55e18c9dcf5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,25 @@
pkgbase = motrix
pkgdesc = elegent downloading tool frontend for aria2c,using vue(release version)
- pkgver = git20190211
+ pkgver = v1.3.7
pkgrel = 1
url = https://github.com/agalwood/Motrix
arch = x86_64
license = MIT
+ makedepends = curl
+ makedepends = yarn
makedepends = npm
- makedepends = git
depends = bash
depends = tar
+ depends = fakeroot
+ conflicts = motrix-git
source = Motrix.desktop
source = aria2.conf
source = motrix
- source = Motrix.tar.gz::https://github.com/agalwood/Motrix/archive/v1.2.2.tar.gz
- md5sums = SKIP
- md5sums = SKIP
- md5sums = SKIP
- md5sums = SKIP
+ source = Motrix.tar.gz::https://github.com/agalwood/Motrix/archive/v1.3.7.tar.gz
+ sha256sums = 1b799d1b1e280a27ff625cceb429b1e00c6691eb0256ded44f6a1a0310a899d4
+ sha256sums = 1dc0dd1949e086aabf393a4f53fd290dce7bebdcfa958919f8673bdce9c9b57d
+ sha256sums = ec66063afe506835730f6ba4be55d4aa150b9b587a4d0246c307433fcae1a49d
+ sha256sums = 454c2b2237f6a4d4a568eb0a75b0e887441d76a6c182ad04c9dfb35e8b81f3d9
pkgname = motrix
diff --git a/PKGBUILD b/PKGBUILD
index bd8bff8edd9..5dabdd99f35 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
#Maintainer: weearc <q19981121@163.com>
pkgname=motrix
_pkgname=Motrix
-pkgver=git20190211
-_pkgver=1.2.2
+pkgver=v1.3.7
+_pkgver=1.3.7
pkgrel=1
epoch=
pkgdesc="elegent downloading tool frontend for aria2c,using vue(release version)"
@@ -11,13 +11,15 @@ url="https://github.com/agalwood/Motrix"
license=('MIT')
groups=()
depends=('bash'
- 'tar')
-makedepends=('npm'
- 'git')
+ 'tar'
+ 'fakeroot')
+makedepends=('curl'
+ 'yarn'
+ 'npm')
checkdepends=()
optdepends=()
provides=()
-conflicts=()
+conflicts=('motrix-git')
replaces=()
backup=()
options=()
@@ -28,17 +30,17 @@ source=("Motrix.desktop"
"motrix"
"Motrix.tar.gz"::"https://github.com/agalwood/Motrix/archive/v$_pkgver.tar.gz")
noextract=()
-md5sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
+sha256sums=('1b799d1b1e280a27ff625cceb429b1e00c6691eb0256ded44f6a1a0310a899d4'
+ '1dc0dd1949e086aabf393a4f53fd290dce7bebdcfa958919f8673bdce9c9b57d'
+ 'ec66063afe506835730f6ba4be55d4aa150b9b587a4d0246c307433fcae1a49d'
+ '454c2b2237f6a4d4a568eb0a75b0e887441d76a6c182ad04c9dfb35e8b81f3d9')
validpgpkeys=()
prepare() {
tar -xvf $_pkgname.tar.gz
rm $_pkgname.tar.gz
mv $_pkgname-$_pkgver $_pkgname
- npm config set registry 'https://registry.npm.taobao.org'
+# npm config set registry 'https://registry.npm.taobao.org'
export ELECTRON_MIRROR='https://npm.taobao.org/mirrors/electron/'
export SASS_BINARY_SITE='https://npm.taobao.org/mirrors/node-sass'
sed -i '/"dmg"/,/"linux"/{//!d}' $_pkgname/package.json
@@ -53,8 +55,8 @@ prepare() {
build() {
cd $_pkgname/
- npm install
- npm run build
+ yarn
+ yarn run build
}
package() {
install -d ${pkgdir}/opt