blob: ccdedeacf8b6a2af671b756fffc20d24ce99e484 (
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
|
# Maintainer: mib <mib@kanp.ai>
pkgname=4nec2-bin
pkgver=5.9.3
pkgrel=2
pkgdesc="NEC based antenna modeler and optimizer (using Wine)"
arch=('x86_64')
url="https://www.qsl.net/4nec2"
license=('unknown')
depends=('wine' 'winetricks' 'wine-gecko')
makedepends=('unzip' 'icoutils' 'imagemagick')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=('4nec2.sh' '4nec2.desktop' 'https://qsl.net/4nec2/4nec2zip.zip')
sha256sums=('4d329f4217997b16649387caed63407c388baae88a71018fe991bad38875efba'
'7e195a8663316cc7c6ed3055bdec423f740cccba9ef1d380ac8f816eb384b1af'
'e8180b923e4ca26344ee8acc4310d24411689382e2d164a1a2fd88f7c75c260a')
package() {
install -dm 755 "$pkgdir/opt/4nec2/"
cp -r "$srcdir/4nec2" "$pkgdir/opt"
# desktop file
install -Dm 644 "4nec2.desktop" "$pkgdir/usr/share/applications/4nec2.desktop"
# icon
wrestool -x -t 14 "$srcdir/4nec2/exe/4nec2.exe" > "desktop.ico"
convert desktop.ico desktop.png
install -Dm 755 "desktop.png" "$pkgdir/usr/share/pixmaps/4nec2.png"
# wrapper scripts
install -Dm 755 "4nec2.sh" "$pkgdir/usr/bin/4nec2"
}
|