summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpurofle2021-04-10 09:56:28 +0800
committerpurofle2021-04-10 09:56:28 +0800
commitb72721feb5e289059cc9f613b8958b446ab38cca (patch)
tree59a4ece933391066c9f7d1d758108fc9a21d171c
downloadaur-b72721feb5e289059cc9f613b8958b446ab38cca.tar.gz
add
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD18
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7fb65fd30de
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = mirai-console-loader
+ pkgdesc = 模块化、轻量级且支持完全自定义的 mirai 加载器。
+ pkgver = 1.0.5
+ pkgrel = 1
+ url = https://github.com/iTXTech/mirai-console-loader
+ arch = any
+ makedepends = unzip
+ depends = jdk11-openjdk
+ source = https://github.com/iTXTech/mirai-console-loader/releases/download/v1.0.5/mcl-1.0.5.zip
+ md5sums = 927451fcd6553cc173170346bd99dca9
+
+pkgname = mirai-console-loader
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ff6e6bd55dd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+#Maintainer: purofle <3272912942@qq.com>
+pkgname=mirai-console-loader
+pkgver=1.0.5
+pkgrel=1
+pkgdesc="模块化、轻量级且支持完全自定义的 mirai 加载器。"
+arch=("any")
+url="https://github.com/iTXTech/mirai-console-loader"
+lincense=("AGPL3")
+depends=("jdk11-openjdk")
+makedepends=("unzip")
+source=("$url/releases/download/v$pkgver/mcl-$pkgver.zip")
+md5sums=('927451fcd6553cc173170346bd99dca9')
+
+package() {
+ mkdir -p $pkgdir/opt/mcl
+ cp -r $srcdir/* $pkgdir/opt/mcl
+ chmod -R 777 $pkgdir/opt/mcl
+}