cemu-bin/PKGBUILD

39 lines
1.8 KiB
Bash
Raw Normal View History

2023-02-20 20:18:49 +01:00
# Maintainer: lod <aur@cyber-anlage.de>
# Contributer: Donn <me@donn.website>
2022-11-11 05:14:38 +01:00
pkgname=cemu-bin
2023-04-22 11:41:53 +02:00
pkgver=2.0.36
2023-04-15 15:01:27 +02:00
pkgrel=1
2022-11-11 05:14:38 +01:00
pkgdesc="Nintendo Wii U Emulator"
arch=('x86_64')
url="https://cemu.info"
license=('MPL2')
2023-04-19 19:59:18 +02:00
depends=('at-spi2-core' 'cairo' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc' 'glu' 'gtk3' 'harfbuzz' 'hicolor-icon-theme'
'libglvnd' 'libice' 'libpng' 'libsm' 'libx11' 'libxext' 'libxrender' 'pango' 'wayland')
2022-11-11 05:14:38 +01:00
provides=('cemu')
conflicts=('cemu' 'cemu-git')
options=(!strip !docs libtool emptydirs)
2023-02-20 23:11:03 +01:00
_srcver=${pkgver%.*}-${pkgver##*.}
source=("https://github.com/cemu-project/Cemu/releases/download/v$_srcver/cemu-$_srcver-ubuntu-20.04-x64.zip"
"https://raw.githubusercontent.com/cemu-project/Cemu/main/dist/linux/info.cemu.Cemu.desktop"
"https://github.com/cemu-project/Cemu/raw/main/dist/linux/info.cemu.Cemu.png"
"https://raw.githubusercontent.com/cemu-project/Cemu/main/dist/linux/info.cemu.Cemu.metainfo.xml")
2023-04-22 11:41:53 +02:00
sha256sums=('2f06d12635ef13012523a515e7669e38e53c8f4c11133286bb2e5779fb057b8e'
'3e9380eb47646fede56c0de59ddab872627c00629820ef5f974be0d07e4f3490'
2023-02-20 23:11:03 +01:00
'6458a99b8bd54e44857efa0f82bfd6035e7e072e7e080e3330e4e2cfe89cbd33'
2023-04-05 00:20:10 +02:00
'9a281a8c5b9d0dbe826c5ea0d942f5d2c307d6d9e60729352240e82ee24c5bfe')
package() {
2023-02-20 23:11:03 +01:00
cd $srcdir/Cemu_$_srcver
2023-02-20 22:29:00 +01:00
install -Dm 755 ./Cemu $pkgdir/usr/bin/cemu
2022-11-11 05:14:38 +01:00
2023-02-20 23:11:03 +01:00
install -d $pkgdir/usr/share/Cemu
cp -r ./{gameProfiles,resources,shaderCache} $pkgdir/usr/share/Cemu
2022-11-11 05:14:38 +01:00
2023-02-20 23:11:03 +01:00
sed -i -e '/^Exec=Cemu/cExec=cemu' $srcdir/info.cemu.Cemu.desktop
install -Dm 644 -t $pkgdir/usr/share/applications $srcdir/info.cemu.Cemu.desktop
install -Dm 644 -t $pkgdir/usr/share/icons/hicolor/128x128/apps $srcdir/info.cemu.Cemu.png
install -Dm 644 -t $pkgdir/usr/share/metainfo $srcdir/info.cemu.Cemu.metainfo.xml
}