Package Details: liteloader-qqnt-telegram-theme-bin 4.4.3-1

Git Clone URL: https://aur.archlinux.org/liteloader-qqnt-telegram-theme-bin.git (read-only, click to copy)
Package Base: liteloader-qqnt-telegram-theme-bin
Description: LiteLoaderQQNT 插件,高仿 Telegram 风格的 QQNT 主题
Upstream URL: https://github.com/festoney8/LiteLoaderQQNT-Telegram-Theme
Licenses: MIT
Conflicts: liteloader-qqnt-telegram-theme-bin
Provides: liteloader-qqnt-telegram-theme-bin
Submitter: Sniventals
Maintainer: Sniventals (creeperxie)
Last Packager: Sniventals
Votes: 3
Popularity: 0.033469
First Submitted: 2024-04-27 08:23 (UTC)
Last Updated: 2024-07-12 12:50 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

yjun commented on 2024-11-30 15:28 (UTC)

使用新的插件目录,修正权限问题(permission 777 is a bad move)

diff --git a/PKGBUILD b/PKGBUILD
index 6bbb993..186a55d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname='liteloader-qqnt-telegram-theme-bin'
 _pkgname='LiteLoaderQQNT-Telegram-Theme'
-pkgver='4.4.3'
+pkgver='4.5.3'
 pkgrel=1
 pkgdesc="LiteLoaderQQNT 插件,高仿 Telegram 风格的 QQNT 主题"
 arch=('any')
@@ -14,12 +14,11 @@ provides=("liteloader-qqnt-telegram-theme-bin")
 conflicts=("liteloader-qqnt-telegram-theme-bin")

 source=("${pkgname}-${pkgver}.zip::${url}/releases/download/v${pkgver}/${_pkgname}.zip")
-sha256sums=('26714081fd7d979d6cb003fc5dbcc3eb755f63ff8eed923d5493c1675d489b0e')
-b2sums=('42344949a9efb63c3e0f517408f6d1a4c2946043e4caa3cd68d8d7b869192654ef6a1d7697579d0b48c98a7d2f5613761d86b052852dba38d062fe072d2c68c6')
+sha256sums=('432505d44cce65c5aa9f73bb1b92302f4ae0c4555cca84d9f51ea0184c178b80')
+b2sums=('ba4f7ea32698efa5692c9995615ba62b51c3622a427cc9ea8f0d6ad843dcb727eae2ab898176ab4c4fa5f87cb909ab1c3ce6c77af5bdf0e015fc3a9d96803a8e')

 package() {
-    mkdir -p "${pkgdir}/opt/LiteLoader/plugins/${_pkgname}"
-    chmod 777 "${pkgdir}/opt/LiteLoader" "${pkgdir}/opt/LiteLoader/plugins"
-    cp -r "${srcdir}/${_pkgname}"/* "${pkgdir}/opt/LiteLoader/plugins/${_pkgname}"
+    install -dm755 "${pkgdir}/opt/LiteLoaderQQNT/plugins/"
+    cp -r "${srcdir}/${_pkgname}"/ "${pkgdir}/opt/LiteLoaderQQNT/plugins/"
     install -Dm644 "${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }

little_sheepycn commented on 2024-08-06 11:12 (UTC)

请更改插件的安装目录到/opt/LiteLoaderQQNT