blob: a0518348d264781d5e6180f8f8006864069cccb2 (
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
|
# Maintainer: Damglador <damglador@gmail.com>
pkgname=undertalemodtool-bin
_pkgname=undertalemodtool
pkgver=0.7.0.0
pkgrel=3
arch=('x86_64')
pkgdesc="The most complete tool for modding, decompiling and unpacking Undertale (and other GameMaker games!)"
url="https://github.com/UnderminersTeam/UndertaleModTool"
license=("GPL-3.0-only")
depends=("wine" "bash")
makedepends=("unzip")
source=("${_pkgname}-${pkgver}.zip::${url}/releases/download/${pkgver}/UndertaleModTool_v${pkgver}-Windows-SingleFile.zip"
"${_pkgname}.sh"
"undertalemodtool.exe.desktop"
"gamemaker-data.xml"
"icon.png")
sha256sums=("838c4c01e6517c91c8ff0817030ef288a81142e2c3e00c15c6b869ab87c28ca8"
"1638dabce4fbd32d515156442def0dec3fef8e3c2e1fa9748f81f0151cb38430"
"156ab7105b93ed653aa180e91535e41a5d56de279c8707c6acc23e526209f655"
"SKIP"
"SKIP")
noextract=("${_pkgname}-${pkgver}.zip")
prepare() {
unzip -q "${_pkgname}-${pkgver}.zip" -d "${_pkgname}-${pkgver}"
}
package(){
install -d "$pkgdir"/opt
# Copy program files
cp -rdp --no-preserve=ownership "${_pkgname}-${pkgver}" "$pkgdir"/opt/"${_pkgname}"
# Install launcher script
install -Dm755 ${_pkgname}.sh "$pkgdir"/usr/bin/${_pkgname}
# Install destkop file
install -Dm644 undertalemodtool.exe.desktop "$pkgdir"/usr/share/applications/undertalemodtool.exe.desktop
# Install icon
install -Dm644 icon.png "$pkgdir"/usr/share/icons/hicolor/32x32/apps/${_pkgname}.png
# Install MIME type
install -Dm644 gamemaker-data.xml "$pkgdir"/usr/share/mime/packages/gamemaker-data.xml
}
|