summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b832f844153eb658a6893b432b93d2abca034ffb (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
70
71
72
73
#Maintainer: kro007 <mula.gabriel.fr@gmail.com>
#Contributer: NN777 <NN777@NN777.com>

pkgname=('kingstvis')
pkgver=3.6.4
pkgrel=1
pkgdesc="Kingst Virtual Instruments - Logic Analyzer"
provides=("kingstvis")
url='http://www.qdkingst.com'
arch=('x86_64')
depends=('qt5-base' 'qt5-svg')
source=("${pkgname}.tar.gz::http://www.qdkingst.com/download/vis_linux"
kingstvis.desktop
logo-0.png
logo-1.png
logo-2.png
logo-3.png
logo-4.png
)
md5sums=('982267c2e0372e942382e626ae5ec0e7'
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
)

package(){
	 install -Dm755 "${srcdir}"/KingstVIS/KingstVIS "${pkgdir}"/opt/kingstvis/KingstVIS
	 install -Dm755 "${srcdir}"/KingstVIS/Updater "${pkgdir}"/opt/kingstvis/Updater
	 
	 install -Dm755 "${srcdir}"/KingstVIS/libAnalyzer.so "${pkgdir}"/opt/kingstvis/libAnalyzer.so
	 
	 install -Dm755 "${srcdir}"/KingstVIS/libicudata.so.56 "${pkgdir}"/opt/kingstvis/libicudata.so.56
	 
	 install -Dm755 "${srcdir}"/KingstVIS/libicui18n.so.56 "${pkgdir}"/opt/kingstvis/libicui18n.so.56
	 
	 install -Dm755 "${srcdir}"/KingstVIS/libicuuc.so.56 "${pkgdir}"/opt/kingstvis/libicuuc.so.56
	 
	 mkdir -p "${pkgdir}"/opt/kingstvis/Resource
	 install -Dm644 "${srcdir}"/KingstVIS/Resource/* "${pkgdir}"/opt/kingstvis/Resource
	 
	 mkdir -p "${pkgdir}"/opt/kingstvis/Language
	 install -Dm644 "${srcdir}"/KingstVIS/Language/* "${pkgdir}"/opt/kingstvis/Language
	 
	 mkdir -p "${pkgdir}"/opt/kingstvis/Analyzer
	 install -Dm644 "${srcdir}"/KingstVIS/Analyzer/* "${pkgdir}"/opt/kingstvis/Analyzer
	 
	 mkdir -p "${pkgdir}"/opt/kingstvis/Driver
	 install -Dm644 "${srcdir}"/KingstVIS/Driver/* "${pkgdir}"/opt/kingstvis/Driver
	 
	 mkdir -p "${pkgdir}"/opt/kingstvis/imageformats
	 install -Dm644 "${srcdir}"/KingstVIS/imageformats/* "${pkgdir}"/opt/kingstvis/imageformats
	 	 
	 mkdir -p "${pkgdir}"/opt/kingstvis/platforms
	 install -Dm644 "${srcdir}"/KingstVIS/platforms/* "${pkgdir}"/opt/kingstvis/platforms
	 
	 install -Dm644 "${srcdir}"/KingstVIS/README "${pkgdir}"/opt/kingstvis/README	 
	 
	 install -Dm644 "${srcdir}"/KingstVIS/Driver/99-Kingst.rules "${pkgdir}"/etc/udev/rules.d/99-Kingst.rules
	 
	 install -Dm755 "${srcdir}"/kingstvis.desktop "${pkgdir}"/usr/share/applications/kingstvis.desktop
	 
	 # Icons
	 #/usr/share/icons/hicolor/16x16/apps/
	 install -Dm644 "${srcdir}"/logo-0.png "${pkgdir}"/usr/share/icons/hicolor/64x64/KingstVIS.png
	 install -Dm644 "${srcdir}"/logo-0.png "${pkgdir}"/usr/share/icons/KingstVIS.png
	 install -Dm644 "${srcdir}"/logo-1.png "${pkgdir}"/usr/share/icons/hicolor/48x48/KingstVIS.png
	 install -Dm644 "${srcdir}"/logo-2.png "${pkgdir}"/usr/share/icons/hicolor/32x32/KingstVIS.png
	 install -Dm644 "${srcdir}"/logo-3.png "${pkgdir}"/usr/share/icons/hicolor/20x20/KingstVIS.png
	 install -Dm644 "${srcdir}"/logo-4.png "${pkgdir}"/usr/share/icons/hicolor/16x16/KingstVIS.png
}