diff options
author | zxp19821005 | 2024-02-29 16:48:46 +0800 |
---|---|---|
committer | zxp19821005 | 2024-02-29 16:48:46 +0800 |
commit | 3679b2cf80f662c22f0cc326cce97bbc1ad299e2 (patch) | |
tree | 94129aea4743b8702e85f72a8fc786d600e7bbd6 | |
parent | 65a48189cb5348d7ffc815b5a22f0d6a89c6fdc1 (diff) | |
download | aur-3679b2cf80f662c22f0cc326cce97bbc1ad299e2.tar.gz |
fix errors
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = chinesechesscontrol-bin pkgdesc = 中国象棋控件,包括中国象棋 MFC 扩展库,中国象棋 activex 控件,中国象棋Qt插件,人工智能引擎等 pkgver = 2.0.11 - pkgrel = 5 + pkgrel = 6 url = https://github.com/KangLin/ChineseChessControl arch = x86_64 license = GPL-3.0-only @@ -3,7 +3,7 @@ pkgname=chinesechesscontrol-bin _pkgname=ChineseChessControl _appname="org.Rabbit.${_pkgname%Control}" pkgver=2.0.11 -pkgrel=5 +pkgrel=6 pkgdesc="中国象棋控件,包括中国象棋 MFC 扩展库,中国象棋 activex 控件,中国象棋Qt插件,人工智能引擎等" arch=("x86_64") url="https://github.com/KangLin/ChineseChessControl" @@ -26,7 +26,7 @@ build() { sed -e "s|@appname@|${pkgname%-bin}|g" \ -e "s|@runname@|ChineseChessApp-v${pkgver}|g" \ -i "${srcdir}/${pkgname%-bin}.sh" - bsdtar -xf "${srcdir}/data.tar.gz" + bsdtar -xf "${srcdir}/data."* sed "s|/opt/${_pkgname}/bin/ChineseChess.sh|${pkgname%-bin}|g;s|${_appname}|${pkgname%-bin}|g" \ -i "${srcdir}/opt/${_pkgname}/share/applications/${_appname}.desktop" } |