blob: 64d77e728896e1b7f361d30fcc050e7168e202c9 (
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
|
# Maintainer: Vladimir Gladkov <vovkos[at]gmail>
pkgname=ioninja
pkgver=5.7.1
pkgtag=
pkgrel=1
pkgdesc="Professional all-in-one terminal emulator, sniffer, and protocol analyzer"
arch=("i686" "x86_64")
url="https://ioninja.com"
license=("custom")
depends=("qt5-base" "openssl")
options=("!strip")
source_i686=("https://tibbo.com/downloads/archive/ioninja/ioninja-$pkgver/ioninja-$pkgver$pkgtag-linux-x86.tar.xz")
source_x86_64=("https://tibbo.com/downloads/archive/ioninja/ioninja-$pkgver/ioninja-$pkgver$pkgtag-linux-amd64.tar.xz")
sha256sums_i686=("9e8ff14a3fd2661b75999c5e8bf4bcd8aa2c7e11fd2c929a987c907cb5b7ddd3")
sha256sums_x86_64=("f2763aa1d93d1a240a580c51778b2ef608058ba20342885ba5c6076d3d511b3d")
package() {
if [ "$CARCH" == "x86_64" ]; then
NJ_ARCH=amd64
else
NJ_ARCH=x86
fi
NJ_DIR=ioninja-$pkgver$pkgtag-linux-$NJ_ARCH
install -d "$pkgdir"/usr/bin
install -d "$pkgdir"/usr/lib
install -d "$pkgdir"/usr/etc/ioninja
install -d "$pkgdir"/usr/share/ioninja
install -d "$pkgdir"/usr/share/applications
install -d "$pkgdir"/usr/share/icons
cp $NJ_DIR/bin/* "$pkgdir"/usr/bin/
cp -P $NJ_DIR/lib/* "$pkgdir"/usr/lib/
cp -r $NJ_DIR/etc/ioninja/* "$pkgdir"/usr/etc/ioninja/
cp -r $NJ_DIR/share/ioninja/* "$pkgdir"/usr/share/ioninja/
cp $NJ_DIR/share/applications/* "$pkgdir"/usr/share/applications/
cp -r $NJ_DIR/share/icons/* "$pkgdir"/usr/share/icons/
}
|