diff options
author | CountStarlight | 2018-04-29 09:12:24 +0800 |
---|---|---|
committer | CountStarlight | 2018-04-29 09:12:24 +0800 |
commit | 498526c5c72089e5066b461638f9d5eb86325e64 (patch) | |
tree | 3925ba597c483cf81314d97a6bf873f663b08785 | |
parent | fbcb17e8e7f793531abd1fc59d2be4d3ac608cbf (diff) | |
download | aur-498526c5c72089e5066b461638f9d5eb86325e64.tar.gz |
Move the sed operation to PKGBUILD.
Signed-off-by: CountStarlight <countstarlight@gmail.com>
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | run.sh | 3 |
4 files changed, 5 insertions, 7 deletions
@@ -28,7 +28,7 @@ pkgbase = deepin-wine-tim source = update.policy md5sums = 3d2b0f0449a8ba9297974e5a06df959b md5sums = 9d228e78e544b6b5f103de233d169240 - md5sums = 3afd511f76f9125051259adb3fb95b09 + md5sums = 11f0b230e0acf1f0c6e4bde590b6abb2 md5sums = ebde755e3bd213550f5ccc69d3192060 md5sums = a66646b473a3fbad243ac1afd64da07a @@ -21,7 +21,7 @@ source=("$_mirror/pool/non-free/d/deepin.com.qq.office/deepin.com.qq.office_${de "update.policy") md5sums=('3d2b0f0449a8ba9297974e5a06df959b' '9d228e78e544b6b5f103de233d169240' - '3afd511f76f9125051259adb3fb95b09' + '11f0b230e0acf1f0c6e4bde590b6abb2' 'ebde755e3bd213550f5ccc69d3192060' 'a66646b473a3fbad243ac1afd64da07a') @@ -35,6 +35,7 @@ build() { msg "Removing original outdated TIM directory ..." rm -r "${srcdir}/deepintimdir/drive_c/Program Files/Tencent/TIM" msg "Adding config files and fonts" + sed -i "s/deepin-wine/wine/" "${srcdir}/deepintimdir/drive_c/deepin/EnvInit.sh" tar -jxvf reg_files.tar.bz2 -C "${srcdir}/" cp userdef.reg "${srcdir}/deepintimdir/userdef.reg" cp system.reg "${srcdir}/deepintimdir/system.reg" diff --git a/README.md b/README.md index 07356a002009..d3d0da88b3d8 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Deepin打包的TIM容器移植到Archlinux -构建状态: ![https://github.com/countstarlight/deepin-wine-tim-arch](https://travis-ci.org/countstarlight/deepin-wine-tim-arch.svg?branch=master) +构建状态: [![travis-ci](https://travis-ci.org/countstarlight/deepin-wine-tim-arch.svg?branch=master)](https://travis-ci.org/countstarlight/deepin-wine-tim-arch) 感谢: @@ -43,4 +43,4 @@ yaourt deepin-wine-tim * 2018-02-23 TIM-2.1.5 * 2017-12-23 TIM-2.1.0 * 2017-11-28 修复音频功能(麦克风录音和播放语音消息) -* 2017-11-21 TIM-2.0.0 +* 2017-11-21 TIM-2.0.0
\ No newline at end of file @@ -5,8 +5,6 @@ # Author: Li LongYu <lilongyu@linuxdeepin.com> # Peng Hao <penghao@linuxdeepin.com> -# wszqkzqk <wszqkzqk@gmail.com> - WINEPREFIX="$HOME/.deepinwine/Deepin-TIM" APPDIR="/opt/deepinwine/apps/Deepin-TIM" APPVER="2.1.5" @@ -37,7 +35,6 @@ ExtractApp() 7z x "$APPDIR/$APPTAR" -o"$1" mv "$1/drive_c/users/@current_user@" "$1/drive_c/users/$USER" sed -i "s#@current_user@#$USER#" $1/*.reg - sed -i "s/deepin-wine/wine/" $1/drive_c/deepin/EnvInit.sh } DeployApp() { |