blob: 0f1acef6fc67a18684d04743eeb66e44eb68b029 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=mudlet-bin
_pkgname=Mudlet
pkgver=4.18.5
pkgrel=1
pkgdesc="⚔️ A cross-platform, open source, and super fast MUD client with scripting in Lua.(Prebuilt version)"
arch=('x86_64')
url="https://www.mudlet.org"
_ghurl="https://github.com/Mudlet/Mudlet"
license=('GPL-2.0-only')
provides=("${pkgname%-bin}=${pkgver}")
conflicts=("${pkgname%-bin}")
depends=(
'qt5-multimedia'
'hunspell'
'libzip'
'glu'
'lua51-filesystem'
'luazip5.1'
'lua51-sql-sqlite'
'lrexlib-pcre5.1'
'qt5-gamepad'
'lua51-luautf8'
'ttf-font'
'pugixml'
'lua-yajl'
'qtkeychain-qt5'
'lua51-lcf'
)
makedepends=(
'fuse2'
)
optdepends=(
'ttf-bitstream-vera: default font'
'ttf-ubuntu-font-family: default font'
'noto-fonts-emoji: emoji font support'
)
options=(
'!strip'
)
source=(
"${pkgname%-bin}-${pkgver}.tar::${url}/wp-content/files/${_pkgname}-${pkgver}-linux-x64.AppImage.tar"
"${pkgname%-bin}.sh"
)
sha256sums=('95dbe667f4c2c52e9a9f0c98f45a8726f1ae1d2806709750fb70cc30caa500e6'
'e002b010a25f31d5659799cbcbcecfc25a23e8b16dedf184726d3a7aa812bd79')
build() {
sed -e "
s/@appname@/${pkgname%-bin}/g
s/@runname@/${pkgname%-bin}/g
" -i "${srcdir}/${pkgname%-bin}.sh"
chmod a+x "${srcdir}/${_pkgname}.AppImage"
"${srcdir}/${_pkgname%-bin}.AppImage" --appimage-extract > /dev/null
}
package() {
install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}"
cp -Pr --no-preserve=ownership "${srcdir}/squashfs-root/"* "${pkgdir}/usr/lib/${pkgname%-bin}"
install -Dm644 "${srcdir}/squashfs-root/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps"
install -Dm644 "${srcdir}/squashfs-root/${pkgname%-bin}.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
install -Dm644 "${srcdir}/squashfs-root/${pkgname%-bin}.desktop" "${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop"
}
|