blob: 27e07d2019bb1c9fa414e90d9573ae9043a483b3 (
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
|
# Maintainer: That One Seong <ThatOneSeong@protonmail.com>
_name=Nero-umu
pkgname=nero-umu
pkgver=0.922
pkgrel=1
pkgdesc='A fast and efficient umu manager, just as the Romans designed.'
arch=('x86_64')
url='https://github.com/SeongGino/Nero-umu'
license=('GPL-3.0-only')
depends=('qt6-base' 'icu' 'quazip-qt6' 'umu-launcher')
makedepends=('cmake')
optdepends=(
'curl: For downloading external files to install into prefixes'
'icoextract: Extract Windows ico files'
'icoutils: Convert contents of ico files'
'winetricks: Fallback for Proton runners without embedded protonfixes'
)
source=("https://github.com/SeongGino/Nero-umu/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=('be0c5d981d7db3af14629f1bbe3203a5')
build() {
mkdir "$srcdir/$_name-$pkgver/build"
cd "$srcdir/$_name-$pkgver/build"
cmake .. -DNERO_VERSION=$pkgver
make
}
package() {
install -Dm755 "$srcdir/$_name-$pkgver/build/nero-umu" "$pkgdir/usr/bin/nero-umu"
install -Dm755 "$srcdir/$_name-$pkgver/img/ico/ico_32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/xyz.TOS.Nero.png"
install -Dm755 "$srcdir/$_name-$pkgver/img/ico/ico_48.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/xyz.TOS.Nero.png"
install -Dm755 "$srcdir/$_name-$pkgver/img/ico/ico_64.png" "$pkgdir/usr/share/icons/hicolor/64x64/apps/xyz.TOS.Nero.png"
install -Dm755 "$srcdir/$_name-$pkgver/img/ico/ico_128.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/xyz.TOS.Nero.png"
install -Dm755 "$srcdir/$_name-$pkgver/xyz.TOS.Nero.desktop" "$pkgdir/usr/share/applications/xyz.TOS.Nero.desktop"
}
|