blob: b83138187014b6781923dd514208968f2dd08973 (
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
|
# Maintainer: Joseph Lansdowne <J49137@gmail.com>
pkgname=arcdps-log-manager
pkgver=1.13.1
_gitver=1.13.1
pkgrel=1
pkgdesc="Manager for Guild Wars 2 arcdps EVTC logs"
arch=(x86_64)
url="https://gw2scratch.com/tools/manager"
license=(MIT)
makedepends=(git 'dotnet-sdk-8.0' imagemagick)
depends=('dotnet-runtime-8.0' gtk3)
source=("git+https://github.com/gw2scratch/evtc.git#tag=manager-v$_gitver"
"$pkgname.desktop")
sha256sums=('a842272d5d56adf56f20ddb0872721f092e1590d89db12c1b029bcda8289728d'
'ed093835a12ef648e9f19035faca91db0e18c89837e66f44e4e6e81980ac5bce')
build () {
cd "$srcdir/evtc/ArcdpsLogManager.Gtk"
dotnet build --configuration Release
convert "$srcdir/evtc/ArcdpsLogManager/Images/program_icon.ico" \
"$srcdir/icon.png"
}
package () {
install -d "$pkgdir/opt/" "$pkgdir/usr/bin/"
cp -Rl "$srcdir/evtc/ArcdpsLogManager.Gtk/bin/Release"/net*/ \
"$pkgdir/opt/$pkgname"
ln -s "/opt/$pkgname/GW2Scratch.ArcdpsLogManager.Gtk" \
"$pkgdir/usr/bin/$pkgname"
install -D "$srcdir/evtc/LICENSE" \
"$pkgdir"/usr/share/licenses/arcdps-log-manager/LICENSE
install -D "$srcdir/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
install -D "$srcdir/$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
}
|