blob: ff0728ff086d90cbf3b72de8df471ee1090ac19d (
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
|
# Maintainer: Josep Mengual <josepmengual at protonmail.com>
# Contributor: Alex Avance <aravance at gmail.com>
pkgname=wine-discord-ipc-bridge-git
desc="Enable games running under wine to use Discord Rich Presence"
pkgver=0.0.2.1.g2584e36
pkgrel=1
arch=('x86_64' 'i686')
url="https://github.com/0e4ef622/wine-discord-ipc-bridge"
license=('MIT')
makedepends=('mingw-w64-gcc' 'mingw-w64-binutils' 'git')
provides=('wine-discord-ipc-bridge')
conflicts=('wine-discord-ipc-bridge')
source=(git+https://github.com/0e4ef622/wine-discord-ipc-bridge.git)
sha256sums=('SKIP')
pkgver() {
cd "wine-discord-ipc-bridge"
git describe --long --tags | sed 's/^v//;s/-/./g'
}
build() {
cd "$srcdir/wine-discord-ipc-bridge"
i686-w64-mingw32-gcc -masm=intel main.c -o winediscordipcbridge.exe
}
package() {
cd "$srcdir/wine-discord-ipc-bridge"
i686-w64-mingw32-strip -x winediscordipcbridge.exe
install -D winediscordipcbridge.exe $pkgdir/opt/wine-discord-ipc-bridge/winediscordipcbridge.exe
install -D winediscordipcbridge-steam.sh $pkgdir/opt/wine-discord-ipc-bridge/winediscordipcbridge-steam.sh
}
|