diff options
author | archblue | 2018-05-13 14:02:47 +0800 |
---|---|---|
committer | archblue | 2018-05-13 14:02:47 +0800 |
commit | 26d5e23502bde209816bf47ab3db227aa7b615a1 (patch) | |
tree | ff7a3c03d2285bcaea23fb2bf74be3c0048af71b | |
download | aur-26d5e23502bde209816bf47ab3db227aa7b615a1.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b8cbce820f4c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = proxyee-down + pkgdesc = 基于HTTP代理的百度网盘不限速下载,SwitchyOmega设置请参见项目主页说明 + pkgver = 2.53 + pkgrel = 1 + url = https://github.com/monkeyWie/proxyee-down + arch = any + license = Apache License 2.0 + depends = jre8-openjdk + source = https://github.com/monkeyWie/proxyee-down/releases/download/2.53/proxyee-down-2.53-jar.zip + md5sums = SKIP + +pkgname = proxyee-down + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f3eebbf08d29 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: archblue <jhswx84@aliyun.com> +pkgname=proxyee-down +pkgver=2.53 +pkgrel=1 +pkgdesc="基于HTTP代理的百度网盘不限速下载,SwitchyOmega设置请参见项目主页说明" +arch=("any") +url="https://github.com/monkeyWie/proxyee-down" +license=('Apache License 2.0') +depends=('jre8-openjdk') +source=("https://github.com/monkeyWie/proxyee-down/releases/download/${pkgver}/proxyee-down-${pkgver}-jar.zip") +md5sums=('SKIP') + +package() { + cd "${srcdir}" + unzip -o proxyee-down-${pkgver}-jar.zip -d ${pkgdir}/opt + cd "${pkgdir}/opt/${pkgname}-${pkgver}" + echo -e "#!/bin/bash \n /usr/bin/java -jar /opt/${pkgname}-${pkgver}/proxyee-down.jar" > ${pkgname} + chmod o+rw -R . + chmod 755 ${pkgname} + install -Dm 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} +} |