blob: ba9a4cd5cd101a04722822972f767f3dae4f1ad2 (
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
|
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
# Contributor: Sean Snell <ssnell@lakecs.net>
# Submission: not_anonymous <nmlibertarian@gmail.com>
pkgname=hamrs-appimage
_pkgname=hamrs-pro
__pkgname=hamrs
_install_path="/opt/appimages"
pkgver=2.21.5
pkgrel=1
pkgdesc="Ham Radio portable logger tailored for activities like Parks on the Air, Field Day, and others."
arch=('x86_64')
url="https://hamrs.app/"
license=('LicenseRef-custom:electron')
depends=('fuse2' 'hicolor-icon-theme' 'zlib' 'hamradio-menus')
provides=('hamrs')
conflicts=('hamrs')
options=(!strip)
source=("https://$__pkgname-dist.s3.amazonaws.com/$_pkgname-$pkgver-linux-x86_64.AppImage"
"hamrs-pro.png")
prepare() {
chmod a+x "$_pkgname-$pkgver-linux-$arch.AppImage"
"./$_pkgname-$pkgver-linux-$arch.AppImage" --appimage-extract > /dev/null
sed 's|AppRun|/opt/appimages/hamrs-pro.AppImage|g;s|Utility|HamRadio|g' -i "$srcdir/squashfs-root/$_pkgname.desktop"
}
package() {
install -Dm755 "$srcdir/$_pkgname-$pkgver-linux-$arch.AppImage" "$pkgdir/$_install_path/$_pkgname.AppImage"
install -Dm644 "$srcdir/squashfs-root/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
for _icons in 1024x1024;do
install -Dm644 "$srcdir/squashfs-root/usr/share/icons/hicolor/$_icons/apps/$_pkgname.png" \
"$pkgdir/usr/share/icons/hicolor/$_icons/apps/$_pkgname.png"
done
install -Dm644 "$srcdir/$_pkgname.png" \
"$pkgdir/usr/share/icons/hicolor/32x32/apps/$_pkgname.png"
install -Dm644 "$srcdir/squashfs-root/LICENSE.electron.txt" -t "$pkgdir/usr/share/licenses/$pkgname"
}
md5sums=('8eda8e7a702d75254dacca4abbc4aada'
'8b675923edac47fcec1d0f79affde717')
sha256sums=('a3e4be9f7ac4f5cdd3681cbefcc11640501f96eeb174d0bd992dae9e76528045'
'34fd872afa2dc85872f8ec6f4f4cd4380d480cb4d069ecd869e2bb8ed2c4d97c')
|