summaryrefslogtreecommitdiff
path: root/dev-vcs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-09 03:03:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-09 03:03:12 +0000
commit2be329ae14bbf99f0fc4de7567e2386bbb529fdc (patch)
tree99e1d21f40429392d5eb255ec008fdd96e4fa284 /dev-vcs
parent2cd9ff612e84f0c1ef63c9e9e13be53fe576cc2b (diff)
gentoo auto-resync : 09:11:2024 - 03:03:12
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/Manifest.gzbin11852 -> 11849 bytes
-rw-r--r--dev-vcs/git-absorb/Manifest2
-rw-r--r--dev-vcs/git-absorb/git-absorb-0.6.16.ebuild158
-rw-r--r--dev-vcs/sourcegit/Manifest2
-rw-r--r--dev-vcs/sourcegit/sourcegit-8.37.ebuild141
5 files changed, 303 insertions, 0 deletions
diff --git a/dev-vcs/Manifest.gz b/dev-vcs/Manifest.gz
index 8887d7024b5f..69d15ca4e376 100644
--- a/dev-vcs/Manifest.gz
+++ b/dev-vcs/Manifest.gz
Binary files differ
diff --git a/dev-vcs/git-absorb/Manifest b/dev-vcs/git-absorb/Manifest
index 61112adda598..83c337a2c219 100644
--- a/dev-vcs/git-absorb/Manifest
+++ b/dev-vcs/git-absorb/Manifest
@@ -25,6 +25,7 @@ DIST fastrand-2.0.1.crate 14664 BLAKE2B 7a5812153500170dcc53ca8d66384fef46eeb5a8
DIST form_urlencoded-1.2.1.crate 8969 BLAKE2B 383d3a197b73fba199220b7708e16d770591ac16725faf4efc1a8c230c569c381870d4a11b8fba623e761e68f9d318630b22101d461e67dd26c67e13a73358a1 SHA512 c65104e2dc08fad572bb31f981700fd43dd29fcff42b01c7ccdbd3d4c23dec12360aed3f1b5fc4766fee386d418a65349b2941b8735f788cb0d35d631a6a8dd1
DIST getrandom-0.2.12.crate 36163 BLAKE2B 0afef8504932ea0ea051cde1d14bd5b79edde68d6ebae6fe88fa4aaa532605a16f466d0d9c0d0aa619eaa105600b6d5ee4e191865a3fa041549a78f78ca82396 SHA512 dd97d7dae1a7ba653abdaf2db719e1a9c8eb721b08b4af0f1c45b1ed5079069d1b57e4f6d9d879e7fae3a890763f4b6aea9bc2d945392b98e811e7b348589bee
DIST git-absorb-0.6.15.tar.gz 29061 BLAKE2B eaf562d7afdab01863989cae2ab9b4813cc73e8c0d44127eb97f5a728cef9f176fc6da14c41de5c76e893e8a693a8bb44bf102416a45bd49a0c28180eff81771 SHA512 290ad9ba918284627c8407992bf9b17d15e53d77c57a0b54e526b99bf0329ebfeb3646e93b2971f30201ec0e8b456a5ca298195d33d8e877c92aa18578fbb39a
+DIST git-absorb-0.6.16.tar.gz 29086 BLAKE2B cfa00dc0f3b339269af7360199f357ee0e787c7cff8cd16d452f9bb46dcedec95e7360fe02a3061bd74a6c6b2ba7a01b739e44da197c42dd995fb5aca2878a1f SHA512 fe335d97b5c8e45046365da7830a8582763465e5d779dc1729fa3eba21949638eb339db9ca9178af9b2a487bf45bab796312c726f44b624a65eb3a07de337ddf
DIST git2-0.19.0.crate 215910 BLAKE2B e6dfbc292dd580dfe2b5964745d73c29ab4e43d91af37893eb2b915c7967d557940284c388b5693c8f366d98979cfb43f184627319799a359b2ec40c6d875a83 SHA512 9d868ba1594ace291002c4a10dcd43f192dbb8c2070abd74883e57a7f53825c7a29080ecbe4279f6c7ee845c261bcbc93b10004b99df27de41cd29bd48e137e8
DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76
DIST hermit-abi-0.3.9.crate 16165 BLAKE2B b779f005bd4cb9ba9abe401a0a559a5bbcc44726ac37f53e9c8d1f7218389ec8b48f74d14666261bc4fba4fbe5558cfefae873c49a2312c8c8bd4010b8344064 SHA512 f3a5a51d834a6ad55480b53f7e9cdc73a512ab0cc6c246a6ab1e8bf8f9851a0c8a55982f5bba6cb57b5a03b54870e73b0bab0a79195764c308318394a3ea8045
@@ -98,4 +99,5 @@ DIST windows_x86_64_gnullvm-0.52.4.crate 433358 BLAKE2B ffd55fba15ef713bd48caec5
DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0
DIST windows_x86_64_msvc-0.52.4.crate 828019 BLAKE2B 08163b63d934114457cd64b1c372f8a0cfc1ebf48a2efb41d79031c58ea64e023acd32d2f5075b8b78536998188138562e584ece95f2021b4bc71087ac45f026 SHA512 0671fa3c0463c6d65b525ece8bc91eab2f75cb534de86ba2b1e854d4136fcb439717441881206dba7cfb602493bc24d2aefa96abf8977f5a0fe38d41eadc90f1
EBUILD git-absorb-0.6.15.ebuild 3147 BLAKE2B a382185d17bdb1286c8705b9a4fd114ddff08ba35f0988731b574a0a533ea475682d0c816426336388722535038c46e647ee8872d76e29de1d9471184e3d9db4 SHA512 5877cd223b82fcbe51581691905c71bfaf364afad0a047ccb2dd04fda2e21a7e944071307766c3527481c5f53995da7c832b7430fdb7866769b8e5c5ce6683fd
+EBUILD git-absorb-0.6.16.ebuild 3147 BLAKE2B bb2f39eea09d61409714d7d40c6a4c5f38650e3f94b25d02e9e24f3b9894149ea11db2d0c70d737c90bbe0086494c28595514b1214c38e940188d9a8850c7091 SHA512 fdc1b107b455dcbb48efc2579fe9303000a6439651f14ced2b3a1660218ed04a933910067334dfa327ca8940c5fdd15fd0610b3c2def9994192975d90fbfe30d
MISC metadata.xml 326 BLAKE2B 1ce61af807d0db7a5decbffc79fc653d7213c40b44fc1fe7441a0e787034e408ee167d5d2c4adc3f004b90c6ec520952504d66add287bbd540b3418c36f47de4 SHA512 9e288f04912600a55bbf5464eed414de2ea8911ce5bef9fe92d99e5d2a872652b3638d00235fea858151eebbf46905ed9108003297276202d4a1bd80ac0fc720
diff --git a/dev-vcs/git-absorb/git-absorb-0.6.16.ebuild b/dev-vcs/git-absorb/git-absorb-0.6.16.ebuild
new file mode 100644
index 000000000000..c032fdba1197
--- /dev/null
+++ b/dev-vcs/git-absorb/git-absorb-0.6.16.ebuild
@@ -0,0 +1,158 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.3
+
+EAPI=8
+
+CRATES="
+ anstream@0.6.13
+ anstyle-parse@0.2.3
+ anstyle-query@1.0.2
+ anstyle-wincon@3.0.2
+ anstyle@1.0.6
+ anyhow@1.0.81
+ bitflags@1.3.2
+ bitflags@2.5.0
+ cc@1.0.90
+ cfg-if@1.0.0
+ clap@4.5.3
+ clap_builder@4.5.2
+ clap_complete@4.5.1
+ clap_complete_nushell@4.5.1
+ clap_derive@4.5.3
+ clap_lex@0.7.0
+ colorchoice@1.0.0
+ crossbeam-channel@0.5.12
+ crossbeam-utils@0.8.19
+ deranged@0.3.11
+ dirs-next@2.0.0
+ dirs-sys-next@0.1.2
+ errno@0.3.8
+ fastrand@2.0.1
+ form_urlencoded@1.2.1
+ getrandom@0.2.12
+ git2@0.19.0
+ heck@0.5.0
+ hermit-abi@0.3.9
+ idna@0.5.0
+ is-terminal@0.4.12
+ itoa@1.0.10
+ jobserver@0.1.28
+ libc@0.2.155
+ libgit2-sys@0.17.0+1.8.1
+ libredox@0.0.1
+ libz-sys@1.1.16
+ linux-raw-sys@0.4.13
+ log@0.4.21
+ memchr@2.7.1
+ num-conv@0.1.0
+ once_cell@1.19.0
+ percent-encoding@2.3.1
+ pkg-config@0.3.30
+ powerfmt@0.2.0
+ proc-macro2@1.0.79
+ quote@1.0.35
+ redox_syscall@0.4.1
+ redox_users@0.4.4
+ rustix@0.38.32
+ rustversion@1.0.14
+ serde@1.0.197
+ serde_derive@1.0.197
+ slog-async@2.8.0
+ slog-term@2.9.1
+ slog@2.7.0
+ strsim@0.11.0
+ syn@2.0.53
+ take_mut@0.2.2
+ tempfile@3.10.1
+ term@0.7.0
+ terminal_size@0.3.0
+ thiserror-impl@1.0.58
+ thiserror@1.0.58
+ thread_local@1.1.8
+ time-core@0.1.2
+ time-macros@0.2.18
+ time@0.3.36
+ tinyvec@1.6.0
+ tinyvec_macros@0.1.1
+ unicode-bidi@0.3.15
+ unicode-ident@1.0.12
+ unicode-normalization@0.1.23
+ url@2.5.0
+ utf8parse@0.2.1
+ vcpkg@0.2.15
+ wasi@0.11.0+wasi-snapshot-preview1
+ winapi-i686-pc-windows-gnu@0.4.0
+ winapi-x86_64-pc-windows-gnu@0.4.0
+ winapi@0.3.9
+ windows-sys@0.48.0
+ windows-sys@0.52.0
+ windows-targets@0.48.5
+ windows-targets@0.52.4
+ windows_aarch64_gnullvm@0.48.5
+ windows_aarch64_gnullvm@0.52.4
+ windows_aarch64_msvc@0.48.5
+ windows_aarch64_msvc@0.52.4
+ windows_i686_gnu@0.48.5
+ windows_i686_gnu@0.52.4
+ windows_i686_msvc@0.48.5
+ windows_i686_msvc@0.52.4
+ windows_x86_64_gnu@0.48.5
+ windows_x86_64_gnu@0.52.4
+ windows_x86_64_gnullvm@0.48.5
+ windows_x86_64_gnullvm@0.52.4
+ windows_x86_64_msvc@0.48.5
+ windows_x86_64_msvc@0.52.4
+"
+
+inherit cargo shell-completion
+
+DESCRIPTION="Automatically absorb staged changes into git current branch"
+HOMEPAGE="https://github.com/tummychow/git-absorb"
+SRC_URI="${CARGO_CRATE_URIS}"
+SRC_URI+=" https://github.com/tummychow/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+# Dependent crate licenses
+LICENSE+=" MIT Unicode-DFS-2016"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+ >=dev-libs/libgit2-1.8:=
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md )
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+src_compile() {
+ export LIBGIT2_NO_VENDOR=1
+
+ cargo_src_compile
+
+ GIT_ABSORB_BIN="$(cargo_target_dir)/${PN}"
+
+ # Prepare shell completion generation
+ mkdir completions || die
+ local shell
+ for shell in bash fish zsh; do
+ "${GIT_ABSORB_BIN}" --gen-completions \
+ ${shell} \
+ > completions/${PN}.${shell} \
+ || die
+ done
+}
+
+src_install() {
+ cargo_src_install
+ doman Documentation/${PN}.1
+
+ newbashcomp "completions/${PN}.bash" "${PN}"
+ dofishcomp "completions/${PN}.fish"
+ dozshcomp "completions/${PN}.zsh"
+
+ default
+}
diff --git a/dev-vcs/sourcegit/Manifest b/dev-vcs/sourcegit/Manifest
index 2dc14f1b9bc3..67fbc0f7ae58 100644
--- a/dev-vcs/sourcegit/Manifest
+++ b/dev-vcs/sourcegit/Manifest
@@ -63,6 +63,7 @@ DIST sourcegit-8.31.tar.gz 2895984 BLAKE2B 94fbb71adc4013d1bca991dd2d6f1cc8b52ae
DIST sourcegit-8.32.tar.gz 2897371 BLAKE2B 810cbac1e64a61c2861154cef3fb55bef2ab0eb7a9348c8e830bcf6826fbb37307ed949fe7387e86b2c46b0f8d92f279eb181edcb3cb7d20ef17a68081324708 SHA512 11d2cf007d1b9982a140c0bfcac9ed517d88debebc5afa2f4255eb0183d114d5c9b3a2c4e09aae14cc5024b39af720ce81f0e100ead5ad5db54b87b1cbbd69c3
DIST sourcegit-8.35.tar.gz 2758409 BLAKE2B ff1f0c058cb11300d191622c57cc965c4cb931c1badf8c1f048ab27a0cd77cc45bcd3f61379c27ad1db6e784225afd6b0bc39e644f908a72ec9bc13d947179fb SHA512 857b5f0fa7a0db1a8ab26f92cdbbd11a69cc7a80c250414f39b7a2fdac60a27edf60278f415fd5ef379c1ba6a1e8d58574e502a9468476f4b0eb0b731a8cecda
DIST sourcegit-8.36.tar.gz 2764132 BLAKE2B 8c4bee27b5f5257745fd380b2c74691d66681c895274262feda07dd946cc38490fc2e718e006a6cd7dd38f2280c11f3b7209ad89096ebc2e2b729742de4ae06a SHA512 0b1df3ecca91f5f91368025c05ad67bb6d84a3a016d32962766fe38aa12202ff19cb18e5b2dc0b329fb6379ee39453a0da99e12a1d8e9ab85779348d1ff76e6b
+DIST sourcegit-8.37.tar.gz 2779046 BLAKE2B a581a71889681b8bcf6d531fa947e0cf2f6c891204224c9df3f69ee8f169f198deba57a6513af7ef3f0eef6f36324dd0ab8c9594e3957763f9257e6b63515fdd SHA512 2c3973b4c3b19eaa8cec7c5fd5817ed6573f2d68a61f3835796ed788cc7cb9621a4975ab6a4e3f53fdcaa49d38a9e48673a46a9ddf15671707f6cd7c63f5a901
DIST system.io.pipelines.6.0.0.nupkg 221298 BLAKE2B 344160cc3e08c0a9004eac9672b89d8aa9fc726a0dbcb2aecd677f995157f90354d3c704862422bdf8a0195918a7411b6ad9315c2f68b01c0c24ca666f4dee53 SHA512 c5983b4510bc8ae4116133ffb9b280fe61d99d47ef52dd78e5bfd03e090901896d5d5fd738dae57006b971840a4d9422bded33ddefa5e927d75d309ef1f70dea
DIST system.numerics.vectors.4.5.0.nupkg 382792 BLAKE2B a97284a76a6729052d3a127e1875e2012ae5b90a40533783dc799b543d44cc084035374799e9e1b894083cb61f2639711f18b76ff31145140519a9674dd9d2aa SHA512 9c04ec0530f608aaf801837a791b33857e2ca6d2265a6049c01fd4e972825967e709cad3070f174829b7400f608e9a641d3afc3a45d4636d4c47dd43dd0657b3
DIST system.text.encodings.web.8.0.0.nupkg 374440 BLAKE2B 97211e710df3dcd17932f168e254806d7c8692ac01d667a2e89a5ddc956b24fba8467fbc2d451057757b5c502442d2c91bcaf0f867da7e95456b2aa18136b354 SHA512 ba0822c38c3b658aba9495642d269e882b827e3be4ad2dc1426d8a97d3cbc5a2277c5f80847d0cb9381078af01523328c4992caa058146d5d8ee6b8a08609c32
@@ -74,5 +75,6 @@ EBUILD sourcegit-8.31.ebuild 2671 BLAKE2B 138c65d256b91244c20a7a6d74e103454cde7c
EBUILD sourcegit-8.32.ebuild 3301 BLAKE2B 1da7ca3086f79978f011d5ba27dcc7b26fe451953b8eaec6d54d95c6ec471ab2162d85360e7362adba01cb78514eabc79d172b71fff48707176520ae272a5e72 SHA512 22f359a6f28742c44d0079e4b70b43385cc2f5bbe833214266065150b373ba65400fdafca496d9d35776ec04d4c0a84bf793207695542295c9140119afab6ddf
EBUILD sourcegit-8.35.ebuild 3301 BLAKE2B 16336c437fd3f340771e65b144a9dc1f8febc49370e93d3ef8e9408ce5a6495eac51398f1e3cb68325a5c4d26f7e901f2e010a86481c5326188f457d12c6b263 SHA512 a1a5c54f5995fe1f2243d97facca2ef2b9b76eda915cccf52833cf0aa71dc70bff1253930050ab62181e918ba4573857699cfc278db97cf278c920131c6dfe36
EBUILD sourcegit-8.36.ebuild 3301 BLAKE2B 16336c437fd3f340771e65b144a9dc1f8febc49370e93d3ef8e9408ce5a6495eac51398f1e3cb68325a5c4d26f7e901f2e010a86481c5326188f457d12c6b263 SHA512 a1a5c54f5995fe1f2243d97facca2ef2b9b76eda915cccf52833cf0aa71dc70bff1253930050ab62181e918ba4573857699cfc278db97cf278c920131c6dfe36
+EBUILD sourcegit-8.37.ebuild 3301 BLAKE2B 16336c437fd3f340771e65b144a9dc1f8febc49370e93d3ef8e9408ce5a6495eac51398f1e3cb68325a5c4d26f7e901f2e010a86481c5326188f457d12c6b263 SHA512 a1a5c54f5995fe1f2243d97facca2ef2b9b76eda915cccf52833cf0aa71dc70bff1253930050ab62181e918ba4573857699cfc278db97cf278c920131c6dfe36
EBUILD sourcegit-9999.ebuild 3301 BLAKE2B 16336c437fd3f340771e65b144a9dc1f8febc49370e93d3ef8e9408ce5a6495eac51398f1e3cb68325a5c4d26f7e901f2e010a86481c5326188f457d12c6b263 SHA512 a1a5c54f5995fe1f2243d97facca2ef2b9b76eda915cccf52833cf0aa71dc70bff1253930050ab62181e918ba4573857699cfc278db97cf278c920131c6dfe36
MISC metadata.xml 509 BLAKE2B aab4770380a33bf4fb6bae2da226fb4304f1cd5383a05db987860840685c0d0527e01b0919b51825c6bfbf0dc4325b7ab36a089cd6f6831fa1d83914d2d85202 SHA512 f25b7979ba4a49b4d1a50b2c7b50ece83792ea2f34856eab1bf06b0d71075e54d6b896ff538d5cb7f722acfae2d7bf40bc4f277395047208dec3cefc4c14a6b6
diff --git a/dev-vcs/sourcegit/sourcegit-8.37.ebuild b/dev-vcs/sourcegit/sourcegit-8.37.ebuild
new file mode 100644
index 000000000000..9e2094df470c
--- /dev/null
+++ b/dev-vcs/sourcegit/sourcegit-8.37.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOTNET_PKG_COMPAT="8.0"
+NUGETS="
+avalonia.angle.windows.natives@2.1.22045.20230930
+avalonia.avaloniaedit@11.1.0
+avalonia.buildservices@0.0.29
+avalonia.controls.colorpicker@11.1.4
+avalonia.controls.datagrid@11.1.4
+avalonia.desktop@11.1.4
+avalonia.diagnostics@11.1.4
+avalonia.fonts.inter@11.1.4
+avalonia.freedesktop@11.1.4
+avalonia.native@11.1.4
+avalonia.remote.protocol@11.1.4
+avalonia.skia@11.0.0
+avalonia.skia@11.1.4
+avalonia.themes.fluent@11.1.4
+avalonia.themes.simple@11.1.4
+avalonia.win32@11.1.4
+avalonia.x11@11.1.4
+avalonia@11.1.4
+avaloniaedit.textmate@11.1.0
+communitytoolkit.mvvm@8.3.2
+harfbuzzsharp.nativeassets.linux@2.8.2.3
+harfbuzzsharp.nativeassets.linux@7.3.0.2
+harfbuzzsharp.nativeassets.macos@2.8.2.3
+harfbuzzsharp.nativeassets.macos@7.3.0.2
+harfbuzzsharp.nativeassets.webassembly@2.8.2.3
+harfbuzzsharp.nativeassets.webassembly@7.3.0.2
+harfbuzzsharp.nativeassets.win32@2.8.2.3
+harfbuzzsharp.nativeassets.win32@7.3.0.2
+harfbuzzsharp@2.8.2.3
+harfbuzzsharp@7.3.0.2
+livechartscore.skiasharpview.avalonia@2.0.0-rc3.3
+livechartscore.skiasharpview@2.0.0-rc3.3
+livechartscore@2.0.0-rc3.3
+microcom.runtime@0.11.0
+onigwrap@1.0.6
+skiasharp.harfbuzz@2.88.8
+skiasharp.nativeassets.linux@2.88.3
+skiasharp.nativeassets.linux@2.88.8
+skiasharp.nativeassets.macos@2.88.3
+skiasharp.nativeassets.macos@2.88.8
+skiasharp.nativeassets.webassembly@2.88.3
+skiasharp.nativeassets.webassembly@2.88.8
+skiasharp.nativeassets.win32@2.88.3
+skiasharp.nativeassets.win32@2.88.8
+skiasharp@2.88.3
+skiasharp@2.88.8
+system.io.pipelines@6.0.0
+system.numerics.vectors@4.5.0
+system.text.encodings.web@8.0.0
+system.text.json@8.0.4
+textmatesharp.grammars@1.0.63
+textmatesharp@1.0.63
+tmds.dbus.protocol@0.16.0
+"
+
+inherit check-reqs dotnet-pkg desktop xdg
+
+DESCRIPTION="Open Source Git GUI client using .NET AvaloniaUI"
+HOMEPAGE="https://github.com/sourcegit-scm/sourcegit/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/sourcegit-scm/${PN}.git"
+else
+ SRC_URI="https://github.com/sourcegit-scm/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64"
+fi
+
+SRC_URI+=" ${NUGET_URIS} "
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+ app-arch/brotli
+ app-arch/bzip2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libpcre2
+ dev-vcs/git
+ media-gfx/graphite2
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ media-libs/harfbuzz
+ media-libs/libpng
+"
+
+CHECKREQS_DISK_BUILD="1G"
+DOTNET_PKG_PROJECTS=( src/SourceGit.csproj )
+
+pkg_setup() {
+ check-reqs_pkg_setup
+ dotnet-pkg_pkg_setup
+}
+
+src_unpack() {
+ dotnet-pkg_src_unpack
+
+ if [[ -n "${EGIT_REPO_URI}" ]] ; then
+ git-r3_src_unpack
+ fi
+}
+
+src_prepare() {
+ sed -i "./build/resources/_common/applications/${PN}.desktop" \
+ -e "s|/opt/sourcegit/sourcegit|sourcegit|g" \
+ -e "s|/usr/share/icons/sourcegit.png|sourcegit|g" \
+ || die
+
+ dotnet-pkg_src_prepare
+}
+
+src_install() {
+ dotnet-pkg-base_install
+ dotnet-pkg-base_dolauncher "/usr/share/${P}/SourceGit" "${PN}"
+
+ doicon "./build/resources/_common/icons/${PN}.png"
+ domenu "./build/resources/_common/applications/${PN}.desktop"
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}