blob: 1fd35dbef49bb05770b0bc17af238a10c13d41cb (
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
|
# Maintainer: snogard <snogardb at gmail dot com>
pkgname=r2modman-appimage
pkgver=3.1.55
pkgrel=1
pkgdesc='A simple and easy to use mod manager for several Unity games using Thunderstore.'
arch=('x86_64')
url=https://github.com/ebkr/r2modmanPlus
license=(MIT)
depends=(
'fuse2'
'hicolor-icon-theme'
'zlib'
)
provides=(
'r2modman'
)
source=(
"${url}/releases/download/v${pkgver}/r2modman-${pkgver}.AppImage"
"r2modman.desktop"
)
sha256sums=('dd11a1e5669fe1d18ff28cdd4c044dcab6e814fa80e941c60ff989146dab570d'
'3e14229ab6f1d04da82dfb9c941de696f4936ad9694b3acf616fb04dcb6f54e9')
options=(!strip !debug)
prepare() {
sed -i "s/{pkgversion}/${pkgver}/" ${srcdir}/r2modman.desktop
chmod +x ${srcdir}/r2modman-${pkgver}.AppImage
${srcdir}/r2modman-${pkgver}.AppImage --appimage-extract
}
package() {
install -Dm755 ${srcdir}/r2modman-${pkgver}.AppImage ${pkgdir}/opt/r2modman/r2modman.AppImage
install -dm755 ${pkgdir}/usr/bin
ln -s /opt/r2modman/r2modman.AppImage ${pkgdir}/usr/bin/r2modman
install -dm755 ${pkgdir}/usr/share/applications/
cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
cp --no-preserve=mode,ownership "${srcdir}/r2modman.desktop" "${pkgdir}/usr/share/applications/"
}
|