blob: fbc5e746dac8cf1d080e9cac7c047779275ce1b0 (
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: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=ostara-appimage
_pkgname=Ostara
_appname="@krud-devboost"
pkgver=0.12.0
pkgrel=7
pkgdesc="A desktop application that provides various features to monitor and interact with Spring Boot Applications via Actuator."
arch=("x86_64")
url="https://ostara.dev/"
_ghurl="https://github.com/krud-dev/ostara"
license=('Apache-2.0')
provides=("${pkgname%-appimage}=${pkgver}")
conflicts=("${pkgname%-appimage}")
depends=()
makedepends=(
'fuse2'
)
options=('!strip')
_install_path="/opt/appimages"
source=(
"${pkgname%-appimage}-${pkgver}.AppImage::${_ghurl}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.AppImage"
)
sha256sums=('e0a7dfd1a787be65e72fd5696e9fc6aca481c9a7d1688a9aa1b9c1bf972fd93b')
build() {
chmod a+x "${srcdir}/${pkgname%-appimage}-${pkgver}.AppImage"
"${srcdir}/${pkgname%-appimage}-${pkgver}.AppImage" --appimage-extract > /dev/null
sed "s|AppRun|${pkgname%-appimage}|g;s|${_appname}|${pkgname%-appimage}|g" -i "${srcdir}/squashfs-root/${_appname}.desktop"
}
package() {
install -Dm755 "${srcdir}/${pkgname%-appimage}-${pkgver}.AppImage" "${pkgdir}/${_install_path}/${pkgname%-appimage}.AppImage"
install -Dm755 -d "${pkgdir}/usr/bin"
ln -sf "${_install_path}/${pkgname%-appimage}.AppImage" "${pkgdir}/usr/bin/${pkgname%-appimage}"
install -Dm644 "${srcdir}/squashfs-root/${_appname}.desktop" "${pkgdir}/usr/share/applications/${pkgname%-appimage}.desktop"
for icons in 16x16 24x24 32x32 48x48 64x64 128x128 256x256 512x512 1024x1024;do
install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/${icons}/apps/${_appname}.png" \
"${pkgdir}/usr/share/icons/hicolor/${icons}/apps/${pkgname%-appimage}.png"
done
}
|