cemu-bin/PKGBUILD

38 lines
1.9 KiB
Text
Raw Permalink 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
2024-09-09 21:48:58 +02:00
pkgver=2.2
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"
2024-01-18 17:22:04 +01:00
license=('MPL-2.0')
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'
2024-01-14 16:40:27 +01:00
'libglvnd' 'libice' 'libpng' 'libsm' 'libx11' 'libxext' 'libxkbcommon' 'libxrender' 'pango' 'systemd-libs' 'wayland')
2022-11-11 05:14:38 +01:00
provides=('cemu')
2023-07-11 15:37:01 +02:00
conflicts=('cemu')
options=('!debug')
2024-08-27 14:01:52 +02:00
source=("https://github.com/cemu-project/Cemu/releases/download/v$pkgver/cemu-$pkgver-ubuntu-22.04-x64.zip"
2023-02-20 23:11:03 +01:00
"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")
2024-09-09 21:48:58 +02:00
b2sums=('6dadffd8531d20deb1aefd30b7449b3fdcc81d9d22bc3eb73c4cb2fcf447fa0de9cac9455b0d012d34a3c3521945ad4c53a29292dd283c2504101cd81964852c'
2023-07-09 16:29:11 +02:00
'66d0790e8d0b1220b73e4120c65a4e91fb7303f9171e7dfa14c38683b52089b59455e016616b4a23e52f0f74999f65a51cfd157de70a62557c808c7ef6454efe'
'a4f65a6c849adb4a75b911ba2ad47a20f06e277274b5764fe192066336d169b13fde75dba8ca67ad59d6f0dafba5805c7fcb969e859e5bf819405efce1fa02c6'
2023-08-20 22:35:06 +02:00
'fde11181d1ad4b6d28417d6842cef3a436e856acf312b4066c071a0f933bba676d99a041c5b1bf695a09833d92bc2cf47f0ce5ae179e80f6ba587bc79991a2d3')
package() {
2024-08-27 14:01:52 +02:00
cd $srcdir/Cemu_$pkgver
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
2024-08-08 23:48:28 +02:00
cp -r ./{gameProfiles,resources} $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
}