diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a4a005a8b460 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: NebulaNeko <chfsefefgesfen foxmail> + +_pkgname=coolq-cqhttp-api +pkgname=${_pkgname}-bin +pkgver=4.10.1 +pkgrel=1 +pkgdesc="CoolQ 插件实现通过 HTTP 上报事件信息及调用接口" +arch=(any) +url="https://github.com/richardchien/coolq-http-api" +license=('GPL3') +groups=(eqs) +backup=(etc/coolq/app/io.github.richardchien.coolqhttpapi/config.json) +depends=(coolq) +provides=(coolq-cqhttp-api) +install=coolq-cqhttp-api.install +source=("https://github.com/richardchien/coolq-http-api/releases/download/v$pkgver/io.github.richardchien.coolqhttpapi.cpk" + config.json + tmpfiles.d) +sha512sums=('d4da9f4fa15f7a2d67e12a9bb967cb20201203fb4f766ca7c8dba5b190d8b139535d087305bdd326055b9f7d6fb82e2173fe08c651de16e80aead6707ed6481f' + 'e35f4c0b1061e38f88459035fb23ba6658a26d8f9d5b56ce96bb9d0a5afab18a376274f837b72c3efcf700ae8157d6363ae89f074cec8a454d24ddb11b12aed8' + '991cb2da80f16f47a49b439c8f42acef9d112d9a88e29cb6ea972e2c3957ab49cbb95a9a6aa3403be8a2cf38ffa09f08be4648a45cff4d46a50fb165a2fa4a05') + +package() { + install -Dm644 io.github.richardchien.coolqhttpapi.cpk "$pkgdir/usr/lib/coolq/app/io.github.richardchien.coolqhttpapi.cpk" + install -Dm644 config.json "$pkgdir/etc/coolq/app/io.github.richardchien.coolqhttpapi/config.json" + + install -Dm644 tmpfiles.d "$pkgdir/usr/lib/tmpfiles.d/coolq-cqhttp-api.conf" +} |