diff options
author | Arley | 2020-08-13 04:16:01 -0500 |
---|---|---|
committer | Arley | 2020-08-13 04:16:01 -0500 |
commit | c6fc2c86047da454e9909abf391aa98b1593c9ce (patch) | |
tree | 2f40b16ab2e834558b591614279662e5de9ff8cc | |
parent | fadc9f75bf2c2b93ec0654d7f508ce86d668a4b8 (diff) | |
download | aur-c6fc2c86047da454e9909abf391aa98b1593c9ce.tar.gz |
Update to last version, and now is necessary to compile it
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 21 insertions, 29 deletions
@@ -1,21 +1,20 @@ pkgbase = genie-systemd pkgdesc = A quick way into a systemd "bottle" for WSL - pkgver = 1.24 - pkgrel = 2 + pkgver = 1.27 + pkgrel = 1 url = https://github.com/arkane-systems/genie arch = x86_64 license = custom:The Unlicense + makedepends = dotnet-sdk>=3.1 depends = daemonize depends = dotnet-runtime>=3.1 depends = dotnet-host>=3.1 depends = inetutils provides = genie-systemd conflicts = genie-systemd - source = https://github.com/arkane-systems/genie/releases/download/1.24/genie.tar.gz - source = https://raw.githubusercontent.com/wanghaiwei/genie/master/arch/deviated-preverts.conf + source = https://github.com/arkane-systems/genie/archive/1.27.tar.gz source = LICENSE - sha256sums = 8914c4be0991c7f92eeb73e5e2ac1aed66926e524b8cda1a9a31e6d2ef102511 - sha256sums = 6a79b297cead473c9b318a374b02e8e29b929d4b20225e4a859e2e4dc1ad47cd + sha256sums = 662b363c08605821b8eb5970598df0df55cf1bf3f20673b953bd52a60880c09c sha256sums = 88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd pkgname = genie-systemd @@ -3,42 +3,35 @@ pkgname=genie-systemd _pkgname=genie -pkgver=1.24 -pkgrel=2 +pkgver=1.27 +pkgrel=1 pkgdesc="A quick way into a systemd \"bottle\" for WSL" arch=('x86_64') url="https://github.com/arkane-systems/genie" license=('custom:The Unlicense') depends=('daemonize' 'dotnet-runtime>=3.1' 'dotnet-host>=3.1' 'inetutils') +makedepends=('dotnet-sdk>=3.1') conflicts=('genie-systemd') provides=('genie-systemd') -source=("${url}/releases/download/${pkgver}/${_pkgname}.tar.gz" - "https://raw.githubusercontent.com/wanghaiwei/genie/master/arch/deviated-preverts.conf" +source=("${url}/archive/${pkgver}.tar.gz" 'LICENSE') -sha256sums=('8914c4be0991c7f92eeb73e5e2ac1aed66926e524b8cda1a9a31e6d2ef102511' - '6a79b297cead473c9b318a374b02e8e29b929d4b20225e4a859e2e4dc1ad47cd' +sha256sums=('662b363c08605821b8eb5970598df0df55cf1bf3f20673b953bd52a60880c09c' '88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd') prepare() { - tar -xzf ${_pkgname}.tar.gz + tar -xzf ${pkgver}.tar.gz } package() { - install -Dm 4755 -o root "systemd-genie/usr/bin/genie" -t "$pkgdir/usr/bin" - install -Dm 644 -o root "systemd-genie/usr/bin/genie.dll" -t "$pkgdir/usr/bin" - install -Dm 744 -o root "systemd-genie/usr/bin/Linux.ProcessManager.dll" -t "$pkgdir/usr/bin" - install -Dm 744 -o root "systemd-genie/usr/bin/Newtonsoft.Json.dll" -t "$pkgdir/usr/bin" - install -Dm 744 -o root "systemd-genie/usr/bin/genie.runtimeconfig.json" -t "$pkgdir/usr/bin" - install -Dm 744 -o root "systemd-genie/usr/bin/System.CommandLine.dll" -t "$pkgdir/usr/bin" - install -Dm 744 -o root "systemd-genie/usr/bin/Tmds.LibC.dll" -t "$pkgdir/usr/bin" - install -Dm 644 -o root "systemd-genie/usr/bin/genie.runtimeconfig.json" -t "$pkgdir/usr/bin" - - install -Dm 755 -o root "systemd-genie/usr/lib/genie/dumpwslenv.sh" -t "$pkgdir/usr/lib/genie/" - install -Dm 755 -o root "systemd-genie/usr/lib/genie/readwslenv.sh" -t "$pkgdir/usr/lib/genie/" - install -Dm 755 -o root "systemd-genie/usr/lib/genie/runinwsl.sh" -t "$pkgdir/usr/lib/genie/" - install -Dm 755 -o root "systemd-genie/usr/lib/systemd/system-environment-generators/10-genie-envar.sh" -t "$pkgdir/usr/lib/systemd/system-environment-generators" - install -Dm 755 -o root "systemd-genie/usr/lib/genie/deviated-preverts.conf" -t "$pkgdir/usr/lib/genie/" + export DOTNET_CLI_TELEMETRY_OPTOUT=1 + export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + ls -alh + cd genie-${pkgver}/genie + export DESTDIR=$pkgdir + make build + make install install -Dm 644 "${srcdir}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - install -Dm 755 -o root "$srcdir/deviated-preverts.conf" -t "$pkgdir/usr/lib/genie/" + mkdir -p ${pkgdir}/usr/bin + chmod +x ${pkgdir}/usr/libexec/genie + ln -s /usr/libexec/genie/main/genie ${pkgdir}/usr/bin/genie } |