blob: d374b47ffd9c2afd4a1d025be5b2d625b92e877d (
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
|
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
_pkgname=artemis
pkgname=${_pkgname}-bin
pkgver=4.0.5
pkgrel=1
pkgdesc="Radio Signals Recognition Manual"
url="https://aresvalley.com/"
arch=(x86_64)
license=(GPL3)
makedepends=(unzip)
source=("${_pkgname}-${pkgver}.zip::https://github.com/AresValley/Artemis/releases/download/v${pkgver}/Artemis-Linux-x86_64-${pkgver}.zip"
"artemis.desktop")
sha256sums=('767c86fe195a8b66c08f3f08780300a4104372753f078468a9738cd971b3844e'
'03f370b2595edd1f0ad0a6ea9172efb58956cc66a42d9d0da542e20223ad6f16')
noextract=("${_pkgname}-${pkgver}.zip")
prepare() {
cd "${srcdir}"
unzip -d "preinstall" "${_pkgname}-${pkgver}.zip"
}
package() {
cd "${srcdir}"
# install basic stuff
mkdir -p "${pkgdir}/opt/${_pkgname}"
cp -ar "preinstall/." "${pkgdir}/opt/${_pkgname}"
# fix permissions
chown -R root:root "${pkgdir}/opt/${_pkgname}"
chmod 755 "${pkgdir}/opt/${_pkgname}/app.bin"
# install desktop entries and icons
install -Dm644 "${srcdir}/preinstall/images/artemis_icon.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/artemis.svg"
install -Dm644 "${srcdir}/artemis.desktop" "${pkgdir}/usr/share/applications/artemis.desktop"
}
|