summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorredchenjs2019-06-26 21:50:21 +0800
committerredchenjs2019-06-26 21:50:21 +0800
commitfa7315d15bbc41dacc80d908fefd6a26af702115 (patch)
treeb0a3267cb62384a10220b61d780b2683285d7190
parentecc4cd111d0160c6f476d1ed7bd8f09cb7b77ba8 (diff)
downloadaur-fa7315d15bbc41dacc80d908fefd6a26af702115.tar.gz
use to replace the hardcoded version string
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a0451b6e77e..1d48f5418c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,14 +12,14 @@ makedepends=(
'sed'
)
source=(
- 'https://s1.zb.mi.com/miliao/apk/miliao/7.4/MiTalk_4.0.19.AppImage'
+ 'https://s1.zb.mi.com/miliao/apk/miliao/7.4/MiTalk_'${pkgver}'.AppImage'
)
md5sums=(
'b6d92c52d2c0f27e55a07b5f1255669e'
)
package() {
- 7z x MiTalk_4.0.19.AppImage -o"${pkgdir}"/opt/mitalk/
+ 7z x MiTalk_${pkgver}.AppImage -o"${pkgdir}"/opt/mitalk/
chmod -R 755 "${pkgdir}"/opt/