blob: 369669d549018ecceabdc06c877a51dd1cd91c87 (
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
|
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=testmace
pkgver=latest
pkgrel=1
pkgdesc="A modern powerful crossplatform tool for working with an API and creating automated API tests"
arch=('x86_64')
url='https://testmace.com'
license=("custom:${pkgname}")
depends=('zlib')
options=('!strip')
noextract=("${pkgname}-${pkgver}.AppImage")
source=("${pkgname}-${pkgver}.AppImage::https://download.testmace.com/TestMace.AppImage")
sha256sums=('SKIP')
package() {
chmod 755 ./${pkgname}-${pkgver}.AppImage
./${pkgname}-${pkgver}.AppImage --appimage-extract
install -Dm644 squashfs-root/usr/share/icons/hicolor/256x256/apps/testmace.png "${pkgdir}/usr/share/pixmaps/testmace.png"
gendesk -f -n --pkgname "${pkgname}" \
--pkgdesc "$pkgdesc" \
--name "Test Mace" \
--comment "$pkgdesc" \
--exec "${pkgname}" \
--categories 'Development;Application;' \
--icon "${pkgname}"
install -Dm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
install -d "${pkgdir}/usr/bin"
install -d "${pkgdir}/opt"
cp -avR squashfs-root/ "${pkgdir}/opt/${pkgname}"
ln -s /opt/${pkgname}/AppRun "${pkgdir}/usr/bin/${pkgname}"
find "${pkgdir}/opt/${pkgname}" -type d -exec chmod 755 {} +
}
|