summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorweearc2019-01-20 18:22:25 +0800
committerweearc2019-01-20 18:22:25 +0800
commit9d46d00d3ef5c25d06edf1f0a931c4fec258f0e1 (patch)
tree0f3895829db7b4cd7b692ecf5d584dd4aad28dc3
parent657225d63f9141ba37e2c2966d7780c72cda7da5 (diff)
downloadaur-9d46d00d3ef5c25d06edf1f0a931c4fec258f0e1.tar.gz
improvements
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e4228e4fac5..bbed16fac48 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,8 +7,8 @@ pkgbase = motrix
license = MIT
makedepends = npm
makedepends = git
+ makedepends = aria2
depends = bash
- depends = aria2
source = Motrix.desktop
source = aria2.conf
source = package.json
diff --git a/PKGBUILD b/PKGBUILD
index 12af382fc28..796b77b6716 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,10 +9,10 @@ arch=("x86_64")
url="https://github.com/agalwood/Motrix"
license=('MIT')
groups=()
-depends=('bash'
- 'aria2')
+depends=('bash')
makedepends=('npm'
- 'git')
+ 'git'
+ 'aria2')
checkdepends=()
optdepends=()
provides=()
@@ -57,5 +57,6 @@ package() {
install -Dm 644 ${srcdir}/Motrix.desktop ${pkgdir}/usr/share/applications
# 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/aria2 ${pkgdir}/opt/motrix/reources/engine/aria2
rm -rf ${srcdir}
}