summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-12-19 12:08:55 +0800
committerzxp198210052023-12-19 12:08:55 +0800
commite2536e0a8c823c98dfd5241f104e504b0a08d9b5 (patch)
tree1fdf790d8797b1fd256a72134d15e648bea83fa0
parent974db8375c4597974c750fa902b0da1af4132ade (diff)
downloadaur-e2536e0a8c823c98dfd5241f104e504b0a08d9b5.tar.gz
fix errors
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 34272751f855..7e7a8a21df2d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,7 +8,7 @@ pkgbase = godotpcktool-bin
provides = godotpcktool=1.9
conflicts = godotpcktool
source = godotpcktool-1.9::https://github.com/hhyyrylainen/GodotPckTool/releases/download/v1.9/godotpcktool
- source = LICENSE::https://raw.githubusercontent.com/hhyyrylainen/GodotPckTool/v1.9/LICENSE
+ source = LICENSE-1.9::https://raw.githubusercontent.com/hhyyrylainen/GodotPckTool/v1.9/LICENSE
sha256sums = bd34659871555b531a15b12e51734c65ac0e60eae1eb20f803e48ae5997ad194
sha256sums = 0c202bb6463a8ce09bbeb102683ef12894dc361c28468e57bd3a4000a69a2640
diff --git a/PKGBUILD b/PKGBUILD
index 84da861d764b..ce01ec225649 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,11 +11,11 @@ provides=("${pkgname%-bin}=${pkgver}")
conflicts=("${pkgname%-bin}")
source=(
"${pkgname%-bin}-${pkgver}::${url}/releases/download/v${pkgver}/${pkgname%-bin}"
- "LICENSE::https://raw.githubusercontent.com/hhyyrylainen/GodotPckTool/v${pkgver}/LICENSE"
+ "LICENSE-${pkgver}::https://raw.githubusercontent.com/hhyyrylainen/GodotPckTool/v${pkgver}/LICENSE"
)
sha256sums=('bd34659871555b531a15b12e51734c65ac0e60eae1eb20f803e48ae5997ad194'
'0c202bb6463a8ce09bbeb102683ef12894dc361c28468e57bd3a4000a69a2640')
package() {
install -Dm755 "${srcdir}/${pkgname%-bin}-${pkgver}" "${pkgdir}/usr/bin/${pkgname%-bin}"
- install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} \ No newline at end of file