Commit 54ad52f8 authored by Integral's avatar Integral
Browse files

small fix

parent f8e6f845
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
pkgbase = linuxqq
	pkgdesc = New Linux QQ based on Electron
	pkgver = 3.0.0_571
	pkgrel = 1
	pkgrel = 2
	url = https://im.qq.com/linuxqq/
	arch = x86_64
	arch = aarch64
+5 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
# Contributor: Integral <luckys68@126.com>
pkgname=linuxqq
pkgver=3.0.0_571
pkgrel=1
pkgrel=2
pkgdesc='New Linux QQ based on Electron'
arch=('x86_64' 'aarch64')
url="https://im.qq.com/linuxqq/"
@@ -18,7 +18,6 @@ sha512sums_aarch64=('bab4ed630e8db0c4ff07ed13e93323031aa45cd7098543da9b03d343ba7
package() {
	echo "  -> Extracting the data.tar.xz..."
	bsdtar -xvf data.tar.xz -C "${pkgdir}/"
	chmod -R 755 "${pkgdir}/"

	echo "  -> Installing..."
	# Launcher
@@ -26,7 +25,10 @@ package() {
	ln -s "/opt/QQ/qq" "${pkgdir}/usr/bin/${pkgname}"

	# Launcher Fix
	sed -i '3s!/opt/QQ/qq!/usr/bin/linuxqq!' "${pkgdir}/usr/share/applications/qq.desktop"
	sed -i '3s!/opt/QQ/qq!linuxqq!' "${pkgdir}/usr/share/applications/qq.desktop"

	# Icon Fix
	sed -i '6s!/usr/share/icons/hicolor/512x512/apps/qq.png!qq!' "${pkgdir}/usr/share/applications/qq.desktop"

	# License
	install -Dm644 "${pkgdir}/opt/QQ/LICENSE.electron.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}/"