diff options
author | Michał Sidor (Michcioperz) | 2017-08-20 16:57:44 +0200 |
---|---|---|
committer | Michał Sidor (Michcioperz) | 2017-08-20 16:57:44 +0200 |
commit | 8db0f7cd01f770aa2dd88be94f7c63deb8ba792b (patch) | |
tree | e0113b04e3060cfadfda7b5f8423ef176bbe7698 | |
download | aur-cmpdl-bin.tar.gz |
1.1.3 initial release
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | cmpdl.sh | 2 |
3 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b3d917648cd9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = cmpdl-bin + pkgdesc = Curse Modpack Downloader + pkgver = 1.1.3 + pkgrel = 1 + url = https://www.h2o.ai/h2o/ + arch = any + license = WTFPL + depends = java-runtime>=7 + source = https://github.com/Vazkii/CMPDL/releases/download/1.1.3/cmpdl-1.1.3.jar + source = cmpdl.sh + md5sums = 95624a49412db32936eb6c20ba4517ea + md5sums = 75b41a5ecc6451082cb27a0c5f90f606 + +pkgname = cmpdl-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2782417d82f8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Michał Sidor (Michcioperz) <packages at meekchopp dot es> +pkgname=cmpdl-bin +pkgver=1.1.3 +source=("https://github.com/Vazkii/CMPDL/releases/download/$pkgver/cmpdl-$pkgver.jar" + "cmpdl.sh") +pkgrel=1 +pkgdesc="Curse Modpack Downloader" +arch=('any') +url="https://www.h2o.ai/h2o/" +license=('WTFPL') +depends=('java-runtime>=7') + +package() { + cd "$srcdir" + mkdir -p "$pkgdir/usr/share/java/cmpdl" + cp "cmpdl-$pkgver.jar" "$pkgdir/usr/share/java/cmpdl/cmpdl.jar" + install -Dm755 $srcdir/cmpdl.sh "$pkgdir/usr/bin/cmpdl" +} +md5sums=('95624a49412db32936eb6c20ba4517ea' + '75b41a5ecc6451082cb27a0c5f90f606') diff --git a/cmpdl.sh b/cmpdl.sh new file mode 100644 index 000000000000..241b755192fa --- /dev/null +++ b/cmpdl.sh @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/java -jar '/usr/share/java/cmpdl/cmpdl.jar' "$@" |