use upstream icon and desktop file, fix version and remove empty arrays
This commit is contained in:
parent
3d89049912
commit
7eaccfbebb
2 changed files with 28 additions and 56 deletions
29
.SRCINFO
29
.SRCINFO
|
@ -1,21 +1,18 @@
|
|||
pkgbase = cemu-bin
|
||||
pkgdesc = Nintendo Wii U Emulator
|
||||
pkgver = 2.0
|
||||
pkgrel = 25
|
||||
pkgver = 2.0.25
|
||||
pkgrel = 1
|
||||
url = https://cemu.info
|
||||
arch = x86_64
|
||||
license = MPL-2.0
|
||||
license = MPL2
|
||||
makedepends = patchelf
|
||||
depends = pugixml
|
||||
depends = pulseaudio
|
||||
depends = opengl-driver
|
||||
depends = vulkan-driver
|
||||
depends = icu
|
||||
depends = gtk3
|
||||
depends = glu
|
||||
depends = graphite
|
||||
depends = gtk3
|
||||
depends = libice
|
||||
depends = libsm
|
||||
depends = pcre
|
||||
depends = systemd
|
||||
depends = libffi
|
||||
depends = vulkan-driver
|
||||
provides = cemu
|
||||
conflicts = cemu
|
||||
conflicts = cemu-git
|
||||
|
@ -24,12 +21,10 @@ pkgbase = cemu-bin
|
|||
options = libtool
|
||||
options = emptydirs
|
||||
source = https://github.com/cemu-project/Cemu/releases/download/v2.0-25/cemu-2.0-25-ubuntu-20.04-x64.zip
|
||||
source = info.cemu.Cemu.desktop
|
||||
source = info.cemu.Cemu.metainfo.xml
|
||||
source = info.cemu.Cemu.png
|
||||
source = cemu.desktop::https://raw.githubusercontent.com/cemu-project/Cemu/main/dist/linux/info.cemu.Cemu.desktop
|
||||
source = cemu.png::https://github.com/cemu-project/Cemu/raw/main/dist/linux/info.cemu.Cemu.png
|
||||
sha256sums = c1f4c7438752c876bb6cadaf74bee1c783edad41ebd2402bed2c0fb046240bb6
|
||||
sha256sums = SKIP
|
||||
sha256sums = SKIP
|
||||
sha256sums = SKIP
|
||||
sha256sums = 3e9380eb47646fede56c0de59ddab872627c00629820ef5f974be0d07e4f3490
|
||||
sha256sums = 6458a99b8bd54e44857efa0f82bfd6035e7e072e7e080e3330e4e2cfe89cbd33
|
||||
|
||||
pkgname = cemu-bin
|
||||
|
|
53
PKGBUILD
53
PKGBUILD
|
@ -1,48 +1,26 @@
|
|||
# Maintainer: Donn <me@donn.website>
|
||||
pkgname=cemu-bin
|
||||
pkgver=2.0
|
||||
pkgrel=25
|
||||
pkgver=2.0.25
|
||||
pkgrel=1
|
||||
pkgdesc="Nintendo Wii U Emulator"
|
||||
arch=('x86_64')
|
||||
url="https://cemu.info"
|
||||
license=('MPL-2.0')
|
||||
groups=()
|
||||
depends=(
|
||||
'pugixml'
|
||||
'pulseaudio'
|
||||
'opengl-driver'
|
||||
'vulkan-driver'
|
||||
'icu'
|
||||
'gtk3'
|
||||
'graphite'
|
||||
'pcre'
|
||||
'systemd'
|
||||
'libffi'
|
||||
)
|
||||
makedepends=(
|
||||
'patchelf'
|
||||
)
|
||||
license=('MPL2')
|
||||
depends=('glu' 'graphite' 'gtk3' 'libice' 'libsm' 'pcre' 'vulkan-driver')
|
||||
makedepends=('patchelf')
|
||||
provides=('cemu')
|
||||
conflicts=('cemu' 'cemu-git')
|
||||
options=(!strip !docs libtool emptydirs)
|
||||
install=
|
||||
changelog=
|
||||
source=(
|
||||
"https://github.com/cemu-project/Cemu/releases/download/v${pkgver}-${pkgrel}/cemu-${pkgver}-${pkgrel}-ubuntu-20.04-x64.zip"
|
||||
"info.cemu.Cemu.desktop"
|
||||
"info.cemu.Cemu.metainfo.xml"
|
||||
"info.cemu.Cemu.png"
|
||||
)
|
||||
noextract=()
|
||||
sha256sums=(
|
||||
'c1f4c7438752c876bb6cadaf74bee1c783edad41ebd2402bed2c0fb046240bb6'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
source=("https://github.com/cemu-project/Cemu/releases/download/v${pkgver%.*}-${pkgver##*.}/cemu-${pkgver%.*}-${pkgver##*.}-ubuntu-20.04-x64.zip"
|
||||
"cemu.desktop::https://raw.githubusercontent.com/cemu-project/Cemu/main/dist/linux/info.cemu.Cemu.desktop"
|
||||
"cemu.png::https://github.com/cemu-project/Cemu/raw/main/dist/linux/info.cemu.Cemu.png"
|
||||
)
|
||||
sha256sums=('c1f4c7438752c876bb6cadaf74bee1c783edad41ebd2402bed2c0fb046240bb6'
|
||||
'3e9380eb47646fede56c0de59ddab872627c00629820ef5f974be0d07e4f3490'
|
||||
'6458a99b8bd54e44857efa0f82bfd6035e7e072e7e080e3330e4e2cfe89cbd33')
|
||||
|
||||
package() {
|
||||
CEMU_BIN_PATH="$srcdir/Cemu_${pkgver}-${pkgrel}/Cemu"
|
||||
CEMU_BIN_PATH="$srcdir/Cemu_${pkgver%.*}-${pkgver##*.}/Cemu"
|
||||
|
||||
# Patch
|
||||
patchelf --replace-needed libpcre.so.3 libpcre.so $CEMU_BIN_PATH
|
||||
|
@ -59,9 +37,8 @@ package() {
|
|||
chmod +x $CEMU_BIN_PATH
|
||||
|
||||
mkdir -p "$pkgdir/usr/share/cemu"
|
||||
cp -r "$srcdir/Cemu_${pkgver}-${pkgrel}"/* "$pkgdir/usr/share/cemu"
|
||||
cp -r "$srcdir/Cemu_${pkgver%.*}-${pkgver##*.}"/* "$pkgdir/usr/share/cemu"
|
||||
|
||||
install -Dm644 -t "$pkgdir"/usr/share/applications info.cemu.Cemu.desktop
|
||||
install -Dm644 -t "$pkgdir"/usr/share/metainfo info.cemu.Cemu.metainfo.xml
|
||||
install -Dm644 -t "$pkgdir"/usr/share/icons/hicolor/128x128/apps info.cemu.Cemu.png
|
||||
install -Dm644 -t "$pkgdir"/usr/share/applications cemu.desktop
|
||||
install -Dm644 -t "$pkgdir"/usr/share/icons/hicolor/128x128/apps cemu.png
|
||||
}
|
Loading…
Reference in a new issue