blob: 3846c945572eeddc8eb40e740995e5ed80182fd6 (
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
|
pkgname=opentrace
pkgver=1.4.3.0
pkgrel=1
pkgdesc="A cross-platform GUI wrapper for NextTrace. Bringing you the familiar traceroute experience."
arch=('x86_64')
url="https://github.com/Archeb/opentrace"
license=('GPL3')
depends=('nexttrace' 'dotnet-runtime')
makedepends=('dotnet-sdk')
source=("https://github.com/Archeb/opentrace/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('1ec370a2f20c4e0426ded2c10cafeaa9309f3a3f13668791cea67bb312a5aaef')
build() {
cd "$srcdir/$pkgname-$pkgver"
dotnet build -c Release --use-current-runtime traceroute.sln
}
package() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p $pkgdir/usr/lib/opentrace
mkdir -p $pkgdir/usr/bin
cp -r ./bin/Gtk/Release/net*.*/linux-x64/* "$pkgdir/usr/lib/opentrace/"
ln -sf /usr/lib/opentrace/OpenTrace "$pkgdir/usr/bin/opentrace"
install -Dm644 "./opentrace.desktop" "${pkgdir}/usr/share/applications/OpenTrace.desktop"
install -Dm644 "./icon.png" "$pkgdir/usr/share/pixmaps/opentrace.png"
}
|