Skip to content

Commit

Permalink
update to 5.7_5.3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
zxp19821005 committed Nov 11, 2024
1 parent 7e82ad7 commit ac23ac0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spark-dwine-helper/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
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")
Expand All @@ -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"
}

0 comments on commit ac23ac0

Please sign in to comment.