blob: f8c0b4a8d7130a1640aab52052c1cb50a1c0737d (
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
|
# Maintainer: Ruslan Magomedov <rmagomedov.iam@yahoo.com>
pkgname=scanastudio
pkgver=4.0.19
pkgrel=1
epoch=
pkgdesc="ScanaStudio is a software for Ikalogic logic analyzers"
arch=('x86_64')
url="https://www.ikalogic.com/"
license=('unknown')
groups=()
depends=('libftd2xx>=1.4.8')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(
"https://cdn.ikalogic.com/dist/scanastudio/binaries/v4.0.19/scanastudio_linux_x64_v4.0.19.tar.bz2"
"scanastudio.desktop"
)
noextract=()
sha256sums=(
'9930b5a46218a716f9f9ec13699c80c1e4741b9c84aae2d6ecafae8cb071ec92'
'abb172b2fa0f00380c9c34b5ce51ae35b7434e93da127c23336bf9de81b49957'
)
validpgpkeys=()
package() {
mkdir $pkgdir/opt
cp -r $srcdir/ScanaStudio/x86_64/bin $pkgdir/opt/scanastudio
install -Dm644 $srcdir/ScanaStudio/x86_64/driver/99-ikalogic.rules $pkgdir/etc/udev/rules.d/99-ikalogic.rules
install -Dm644 scanastudio.desktop $pkgdir/usr/share/applications/scanastudio.desktop
install -Dm644 $srcdir/ScanaStudio/x86_64/mime/ScanaStudio.xml $pkgdir/usr/share/mime/packages/scanastudio.xml
mkdir -p $pkgdir/usr/share/icons
cp -r $srcdir/ScanaStudio/x86_64/mime/hicolor $pkgdir/usr/share/icons/
install -Dm644 $srcdir/ScanaStudio/x86_64/mime/application-x-ScanaStudio.png $pkgdir/usr/share/icons/hicolor/192x192/mimetypes/application-x-ScanaStudio.png
find $pkgdir/ -type f -print0 | xargs -0 chmod -x
chmod +x $pkgdir/opt/scanastudio/{ScanaStudio,update}
mkdir -p $pkgdir/usr/bin
ln -s /opt/scanastudio/ScanaStudio $pkgdir/usr/bin/scanastudio
}
|