blob: 1af95eb660203851256edb7550124d6d14842f00 (
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
|
# Maintainer: claymorwan <claymorwan@proton.me> <claymorw@gmail.com>
_sourceName="asset-ripper"
_exeName="AssetRipper.GUI.Free"
pkgname=asset-ripper-bin
pkgver=1.1.8
pkgrel=1
pkgdesc="GUI Application to work with engine assets, asset bundles, and serialized files"
arch=(x86_64 aarch64)
url="https://github.com/AssetRipper/AssetRipper"
depends=('gcc-libs' 'dbus' 'glibc')
source=("https://raw.githubusercontent.com/AssetRipper/AssetRipper/refs/tags/$pkgver/LICENSE.md"
"https://raw.githubusercontent.com/AssetRipper/AssetRipper/refs/tags/$pkgver/Media/Images/LogoReimagined/LogoReimaginedTransparent.png")
source_x86_64=("$_sourceName.tar.gz::https://github.com/AssetRipper/AssetRipper/releases/download/$pkgver/AssetRipper_linux_x64.zip")
source_aarch64=("$_sourceName.tar.gz::https://github.com/AssetRipper/AssetRipper/releases/download/$pkgver/AssetRipper_linux_arm64.zip")
sha256sums=('8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b'
'223a74636902eeed55ad13a44e7292ff9f532df24c706dd8d566b33d00246757')
sha256sums_x86_64=('135a8b5a381a6708f03b1a729198fa1f75cceb6b3a3d43b65acf497f49c98b98')
sha256sums_aarch64=('135a8b5a381a6708f03b1a729198fa1f75cceb6b3a3d43b65acf497f49c98b98')
license=("GPL-3.0-only")
package() {
install -d "$pkgdir/usr/bin/"
install -d "$pkgdir/usr/share/applications/"
install -Dm755 "$_exeName" "$pkgdir/opt/$_sourceName/$_exeName"
install -Dm755 "crunch.dll" "$pkgdir/opt/$_sourceName/crunch.dll"
install -Dm755 "crunchunity.dll" "$pkgdir/opt/$_sourceName/crunchunity.dll"
install -Dm755 "libcapstone.so" "$pkgdir/opt/$_sourceName/libcapstone.so"
install -Dm755 "libnfd.so" "$pkgdir/opt/$_sourceName/libnfd.so"
install -Dm755 "libTexture2DDecoderNative.so" "$pkgdir/opt/$_sourceName/libTexture2DDecoderNative.so"
install -Dm644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
install -D LogoReimaginedTransparent.png "$pkgdir/usr/share/icons/$_sourceName.png"
ln -s "/opt/$_sourceName/$_exeName" "$pkgdir/usr/bin/$_sourceName"
install -Dm0644 /dev/stdin $pkgdir/usr/share/applications/$_sourceName.desktop << EOF
[Desktop Entry]
Name=Asset Ripper
Exec=$_sourceName
Icon=$_sourceName
Terminal=false
Type=Application
Comment=GUI asset ripper
Categories=Game;Development;
EOF
}
|