blob: 159c3a5720aff31fe41307814f1c6202ab3bd099 (
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
|
# Maintainer: snogard <snogardb at gmail dot com>
pkgname=edex-ui-appimage
pkgver=2.2.8
pkgrel=2
pkgdesc='A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.'
arch=('x86_64' 'aarch64')
url=https://github.com/GitSquared/edex-ui
license=(GPL3)
depends=(
'hicolor-icon-theme'
'zlib'
)
provides=(
'edex-ui'
)
source=("LICENSE::https://raw.githubusercontent.com/GitSquared/edex-ui/v${pkgver}/LICENSE")
source_x86_64=("${url}/releases/download/v${pkgver}/eDEX-UI-Linux-x86_64.AppImage")
source_aarch64=("${url}/releases/download/v${pkgver}/eDEX-UI-Linux-arm64.AppImage")
sha256sums=('c61f12da7cdad526bdcbed47a4c0a603e60dbbfdaf8b66933cd088e9132c303f')
sha256sums_x86_64=('c8f28cd721ca032ca0c1960b756ca3e64dc441a643c32eafbb79c673b402d681')
sha256sums_aarch64=('1afe0146c312dc9fde1c569ed370cbcdc82ba4282ae372a7921cd6dfc9462236')
options=(!strip)
prepare() {
chmod +x eDEX-UI-Linux-${CARCH}.AppImage
${srcdir}/eDEX-UI-Linux-${CARCH}.AppImage --appimage-extract
sed -i "s/AppRun/env DESKTOPINTEGRATION=false \/usr\/bin\/edex-ui/" "${srcdir}/squashfs-root/edex-ui.desktop"
}
package() {
install -Dm755 eDEX-UI-Linux-${CARCH}.AppImage ${pkgdir}/opt/edex-ui/eDEX-UI.AppImage
install -dm755 ${pkgdir}/usr/bin
ln -s /opt/edex-ui/eDEX-UI.AppImage ${pkgdir}/usr/bin/edex-ui
install -dm755 ${pkgdir}/usr/share/applications/
cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
cp --no-preserve=mode,ownership "${srcdir}/squashfs-root/edex-ui.desktop" "${pkgdir}/usr/share/applications/"
install -Dm0644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE"
}
|