summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 692836a669a8284e421f91b783ef78f92c4457e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# contributor: Asuka Minato <i at asukaminato dot eu dot org>
pkgname=shalou
pkgver=6.6.3
pkgrel=1
pkgdesc="沙漏验机 - 是一款专业的苹果验机助手、苹果刷机助手"
arch=(x86_64)
url="www.shalou.net"
license=('custom')
depends=(libxtst
	libxcursor
	cairo
	libxrender
	libxi
	expat
	wayland
	at-spi2-core
	libx11
	alsa-lib
	libxml2
	libdrm
	fontconfig
	libxkbcommon-x11
	qt5-speech
	qt5-location
	qt5-tools
	qt5-websockets
	zlib
	libxkbcommon
	gdk-pixbuf2
	qt5-wayland
	pango
	qt5-base
	libxcomposite
	nspr
	gtk3
	qt5-multimedia
	gstreamer
	freetype2
	gst-plugins-base-libs
	libxdamage
	nss
	libcups
	glib2
	glibc
	dbus
	libxext libxfixes libxcb libglvnd libpulse gcc-libs)
provides=()
options=(!strip) # or it will error
source=("https://app-1320188180.cos.ap-nanjing.myqcloud.com/pc/install/${pkgver}/shalou${pkgver}.deb")
sha256sums=('5200bf5423b8f5c4186d6cfb737d89963cc4077f0d72733594177b5262f6d5a3')

package() {
	bsdtar -xvf data.tar.* -C $pkgdir
	mv $pkgdir/lib/ $pkgdir/usr/lib/
	mv $pkgdir/bin/ $pkgdir/usr/bin/
	chown root:root -R $pkgdir
	chmod 755 $pkgdir/etc/
	chmod 755 $pkgdir/etc/udev/
	chmod 755 $pkgdir/etc/udev/rules.d/
	chmod 755 $pkgdir/opt/
	chmod 755 $pkgdir/usr/
	chmod 755 $pkgdir/usr/bin/
	chmod 755 $pkgdir/usr/lib/
	chmod 755 $pkgdir/usr/lib/udev/
	chmod 755 $pkgdir/usr/lib/udev/rules.d/
	chmod 755 $pkgdir/usr/share/
	chmod 755 $pkgdir/usr/share/applications/
	# todo: a lot of qt5 lib remain undeleted, I am not sure, so I keep them there.
}