blob: 2bf1fd5332c1a028670361c79cf672f5c1dde1f2 (
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
|
# Maintainer: Ash <xash at riseup d0t net>
pkgname=rusty-psn-gui-git
_pkgname=rusty-psn
pkgver=0.5.0.r1.ga227494
pkgrel=2
provides=('rusty-psn-gui')
conflicts=('rusty-psn-bin')
replaces=('rusty-psn-bin')
pkgdesc='A tool for downloading PS3 and PS4 game updates (GUI-only version)'
url='https://github.com/RainbowCookie32/rusty-psn'
license=('MIT')
arch=('x86_64')
makedepends=('cargo' 'rust' 'pkgconf' 'git')
depends=('openssl' 'libxcb' 'libxkbcommon')
options=('!lto')
source=("$_pkgname::git+https://github.com/RainbowCookie32/rusty-psn.git"
"playstation-store-icon.png"
"rusty-psn-gui.desktop")
sha256sums=('SKIP'
'b9a7443c4be0b30d6de0d8494ae410b8e8a1df2d782c6dbdd4e9d8ac73977ad5'
'4098c17d95236360c92d5be866589b9fc8d4f123f0908e3fc60a3f93ae04d9ae')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_pkgname"
cargo build --release --features "egui"
}
package() {
cd "$_pkgname"
install -Dm755 "${CARGO_TARGET_DIR:-target}/release/rusty-psn" "$pkgdir/usr/bin/rusty-psn-gui"
install -Dm644 "$srcdir/playstation-store-icon.png" "$pkgdir/usr/share/pixmaps/playstation-store.png"
install -Dm644 "$srcdir/rusty-psn-gui.desktop" "$pkgdir/usr/share/applications/rusty-psn-gui.desktop"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|