From ac23ac09705e98ce0b2616fa3f342140e656a2b2 Mon Sep 17 00:00:00 2001 From: Woodenman Date: Mon, 11 Nov 2024 11:35:18 +0800 Subject: [PATCH] update to 5.7_5.3.14 --- spark-dwine-helper/PKGBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spark-dwine-helper/PKGBUILD b/spark-dwine-helper/PKGBUILD index 9a728a0b2..31505379b 100755 --- a/spark-dwine-helper/PKGBUILD +++ b/spark-dwine-helper/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: zxp19821005 pkgname=spark-dwine-helper -pkgver=5.6.4.5_5.3.14 +pkgver=5.7_5.3.14 pkgrel=1 pkgdesc="Modify deepin-wine to make it perform better.修改和增强deepin-wine来提升体验." arch=("any") @@ -15,14 +15,15 @@ depends=( optdepends=('noto-fonts-cjk: recommended fonts') conflicts=("${pkgname}") source=("${pkgname}-${pkgver}.deb::${url}/releases/download/${pkgver//_/-}/${pkgname}_${pkgver//_/-}_all.deb") -sha256sums=('a80571bee21d3998254c40f1f6462fb9679202b7bd80817774ce27c7be7668db') +sha256sums=('a9a03853ad075f30bbbd1d16a0a35cbd8c7a9ac9b3720ffef3eece08732315d9') build() { bsdtar -xf "${srcdir}/data."* + sed -i 's/"$(arch)"/`uname -m`/g' "${srcdir}/opt/apps/store.spark-app.${pkgname}/files/deepinwine/tools/spark_run_v4.sh" sed -i "27d" "${srcdir}/opt/apps/store.spark-app.${pkgname}/files/deepinwine/tools/${pkgname}/deepin-wine8-stable-wrapper/deepin-wine8-stable" sed -i "27i\if command -v spark-box64 2>/dev/null ;then" "${srcdir}/opt/apps/store.spark-app.${pkgname}/files/deepinwine/tools/${pkgname}/deepin-wine8-stable-wrapper/deepin-wine8-stable" } package() { - cp -r "${srcdir}/"{opt,usr} "${pkgdir}" + cp -r "${srcdir}/opt" "${pkgdir}" install -Dm755 -d "${pkgdir}/opt/deepinwine/tools" ln -sf "/opt/apps/store.spark-app.${pkgname}/files/deepinwine/tools/spark_run_v4.sh" "${pkgdir}/opt/deepinwine/tools/spark_run_v4.sh" } \ No newline at end of file