summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b6e2ca76bca8c1d50efd58e6a70b13e002b43730 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Tobias Burdow <kaleidox@comroid.org>

pkgname=rgx-git
pkgver=0.2
pkgrel=3
pkgdesc="Commandline RegExp Tool"
arch=('any')
url="https://github.com/comroid-git/rgx"
license=('GPL-3.0')
depends=('dotnet-runtime-7.0')
makedepends=('dotnet-sdk-7.0')
source=("git+https://github.com/comroid-git/rgx.git" "git+https://github.com/comroid-git/csapi.git")
md5sums=('SKIP' 'SKIP')
options+=("!strip")

build() {
    cd rgx
    dotnet publish -c Release --use-current-runtime
}

package() {
    install -Dm755 "rgx/rgx/bin/Release/net7.0/linux-x64/publish/rgx" "$pkgdir/usr/bin/rgx"
}