summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e469b8a26c8fbe044377fae3ccd27b0e963fe526 (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
# Maintainer: Robert Ulmer <arch.x(at)frontexpers.com>
pkgname="filius"
pkgver="1.10.2"
_pkgver="${pkgver}"
pkgrel=1
pkgdesc="Network simulation program"
arch=('any')
url="http://www.lernsoftware-filius.de"
license=('GPL')
depends=('java-environment>=8')
source=(http://www.lernsoftware-filius.de/downloads/Setup/$pkgname-$_pkgver.zip)
sha256sums=('850aebe6522c4f4bfdf04afe2565c284acb4303c6727b176e031806c587ceff9')
package() {
	cd $srcdir
	# cp -r usr/ etc/ $pkgdir
  mkdir -p $pkgdir/usr/bin/
  mkdir -p $pkgdir/usr/share/filius/
  mkdir -p $pkgdir/usr/share/pixmaps/
  mkdir -p $pkgdir/usr/share/applications/

  rm Filius.exe
  rm Filius.command
  # mv lib $pkgdir/usr/lib/filius
  cp -r Changelog.txt  config  Einfuehrung_Filius.pdf  filius.jar  Filius.sh  GPLv2.txt  GPLv3.txt  hilfe  img  Introduction_Filius.pdf  lib  tmpl $pkgdir/usr/share/filius/
  chmod +x $pkgdir/usr/share/filius/Filius.sh
  ln -s /usr/share/filius/Filius.sh $pkgdir/usr/bin/filius

  base64 -d > $pkgdir/usr/share/pixmaps/filius32.png <<EOF
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABhmlDQ1BJQ0MgcHJvZmlsZQAAKJF9
kTtIw1AUhv8+pEUqDnZQcchQnSyIigguWoUiVAi1QqsOJjd9QZOGJMXFUXAtOPhYrDq4OOvq4CoI
gg8QJ0cnRRcp8dyk0CLGA5f78d/z/9x7LuBvVJhqBscAVbOMdDIhZHOrQugVPgwgjBkEJWbqc6KY
gmd93V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UnHMS+rGT/zG1olRgpe96YnXAQKyP2vP1zYC3wHXgPvIopKfCjFZfD4XA9NdaISNInt75F
8ud56qf8L3SUS7sHJVXXAAAAAElFTkSuQmCC
EOF

cat > $pkgdir/usr/share/applications/filius.desktop << EOF
[Desktop Entry]
Name=Filius
Name[de]=Filius
Comment=Learn how Computer Networks are built
Comment[de]=Lernsoftware zu Rechnernetzen
Exec=/usr/share/filius/Filius.sh
Icon=filius32
Terminal=false
Type=Application
Categories=Education
StartupNotify=false
EOF

}