diff options
author | Karl-Johan Karlsson <creideiki@lysator.liu.se> | 2021-12-04 15:00:31 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-12-04 17:32:05 +0200 |
commit | c22654e94c705db242d7079ac4b349ddbf560c1c (patch) | |
tree | 3fce7938c50379e7971aa911272fea26ce5a4dd4 /app-misc | |
parent | dev-ml/batteries: A community-maintained standard library extension (diff) | |
download | gentoo-c22654e94c705db242d7079ac4b349ddbf560c1c.tar.gz gentoo-c22654e94c705db242d7079ac4b349ddbf560c1c.tar.bz2 gentoo-c22654e94c705db242d7079ac4b349ddbf560c1c.zip |
app-misc/broot: bump to 1.7.4
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Karl-Johan Karlsson <creideiki@lysator.liu.se>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/broot/Manifest | 5 | ||||
-rw-r--r-- | app-misc/broot/broot-1.7.4.ebuild | 263 |
2 files changed, 268 insertions, 0 deletions
diff --git a/app-misc/broot/Manifest b/app-misc/broot/Manifest index 04c8dd8a306a..f2f8292586d8 100644 --- a/app-misc/broot/Manifest +++ b/app-misc/broot/Manifest @@ -25,6 +25,7 @@ DIST broot-1.6.6.tar.gz 8714930 BLAKE2B 8e0a649dc7d022c4be12eb7c7ba5925de46a59c7 DIST broot-1.7.0.tar.gz 8714656 BLAKE2B 2ebb0f26973765cbcc97461b4221bcb02dc80f5477998bbb6f8479bb29bfe553431c0b2cf7afc21449b622fb859d6d693cf29c2627c7f3c2254200e4b9da1b4d SHA512 3d6a286322858fc65169798eda5c602ef87fff181aa75ad5ecbea06bb6b0993ad796b2783cb604ed7d99f4f8be4cc191dfc3d9a270948e69349a92e01f2e4235 DIST broot-1.7.1.tar.gz 8714471 BLAKE2B 298b9a505f5226cab5c5983c857e0c9b50e2fd77fa7c627afa9921ef47bf4726ecc7d9eff02041132e732848a23efe28ae5ef087c022573f0fccfd02ce47a56e SHA512 a32f37577f8d5e6b173df758872387ceeccdbf8c157320494cfb9792342eed455abc238bdef9e1423c6ab3f35eb8bb4f7c723325291feedf025f49f13181ce60 DIST broot-1.7.3.tar.gz 9416268 BLAKE2B 7d1836e6d60693361aba0da25a51919d169e0d4701c98dbaac46bb36c51c0cf7c209b80c96b785f9693eecfad55a645b68620734320671fd269258ba26a9e2c1 SHA512 c3eb6c4444d5bab5bc38888b20844fd4c86b8f7c24646811e8b9a3f36fac36ccd7a96d94838e21ca02f292d879d2a04f03b1d44a48ba0eef8b239130b7c5712a +DIST broot-1.7.4.tar.gz 9416319 BLAKE2B ff9605379f9bd881ea5dc3710f1b03c1be6cbcebe2baaa45b73a430542fed1043e2cbfa646a0f374b7f12cdfb22309c895da1d9be7bbde2de279dbd233669330 SHA512 832c792a3a905040c5e7915b9defa82d2bd70b113025d3357d8ba9b521fb93617bbb17a6b74f7320365ed3a703c864e1e6db887c74f347ed669cb2c950334e44 DIST bstr-0.2.16.crate 330346 BLAKE2B 75a345f3a5d428ec7278cd10fa676f5bb72685c65c4fe68163943cf3142b43ac45d458bce9323447b201ffcc91aa82cd8c762cb1954c055e34b1a5cebc686ee8 SHA512 33e82e5637efdc2f404ab9405331ae135df12586785491c3e61e70ea8406c67e2109e550cc70a4ab8e95d054e8519c48257fd3b55ef0b67b2530914a9a0b0fac DIST bstr-0.2.17.crate 330350 BLAKE2B 90c3a48d78b73d7e36a3da9fda0beae6e91ce534d17198ea8ceee0b613d03297f9dd8bca30e1ec5da01d1da359a1da72b2c2771b77c82bebab5006cafd665192 SHA512 883eac8210d14f89517b4dd5e25d02c97cf31602ec74498b5e186112ba0f154d47de8d1c41a8f4e5503f3b53c064e2c976b60bbfd63fc28b186bc006e00f20c2 DIST bytemuck-1.7.2.crate 27489 BLAKE2B 2541a7561eb34351f58266451a020858d8ac1ad30ecb95b97d576e72532cae37ef0b747e2259aaf6052b65f951586425044f824a00dfabf54bba9462edf94c2a SHA512 fae361f5abe67215a7591d421a0b713b77b437123c56e21dd00421e95ab86d9dd9b0bf1daa6623b833ea65681fbeeb58f6feab9d323964304a3250f24df1ace2 @@ -43,6 +44,7 @@ DIST clipboard-win-4.2.1.crate 12142 BLAKE2B 6818d38ca338b91263d0f2149c6657dd34d DIST clipboard-win-4.2.2.crate 12188 BLAKE2B 00cf14f4e98f3a430abc8db75697b58dbedcf52d1ebb633d857f5310f0cc11a4fe4e9cb165d97caff5265f8a5b132faca5e82877e8f0162b87259bacb817d7fc SHA512 7b2495ffdc4333c642657096d4b60bff915750ef1bdd434d3f0496aa9392f2b5409f78830eae42c0e87eedaa21f1e7034c36b403cbb169b024232112c80763af DIST color_quant-1.1.0.crate 6649 BLAKE2B 9a2488dd00b7a33e15e05531ea49ef1961131f0be0922ba41e2d74d2b1a047daed483ac3a9dd87c847a81cce70a347395c557cad8228ab9a8dc5be7cc0f1bcaa SHA512 690c928bda4b7b57425f38ea68ac89cde2473b7a91b7e62c04a8f2c5a0fa3505e26b065d48b7ad0a8bb491f92f600f896fefdad3ce0e86e43cbf4f9a89e94201 DIST coolor-0.3.0.crate 48181 BLAKE2B 69409fa80c7c09b910706f905805ee0b6517b23120ca2e95370d34846229751eb54d9e0b9466c4044d89dbf626faf8f13cbe2975f27bf55256221ccc514fb923 SHA512 f7446b78fdb6ec452fef7583bd213ce705028f9b5191f3bec0076c9db07fe46b51a1ad18e70542a961a53c67833fc40b440ec8f37032214ac19add151cb9849e +DIST coolor-0.3.1.crate 98306 BLAKE2B eafdcdaa221d173d0ab32062d7a83cbdc7e26ae35f6ab618ebb7a64d5a5da6128a11a1f676be2f7aaf90c45bb6229ec72a9f26a4038d4b49fd882027aace0584 SHA512 18efa3d1a96839d0e0007d674e1a8dde5ee00068877c6e8165db93f5605775de01ab1c3879628300eadabc50da23c3f5c9a2e94c31f77bc37cef1d69cf44293d DIST crc32fast-1.2.1.crate 38172 BLAKE2B 80801a345f4c5ed8a5fd335bbf672eac1733a1c2b333dc8a8e0254338148ce7b34402201a8d2d7434dd1b057f33d99d3a8f02610ea50b54115d80bb8da28b2b0 SHA512 4c04236bb15a5c63b712c62652777917e947823abb20a0d0b372c850ec1c8695faa414e8de73904f1f1a296d7b00a6206cde8da404cf4cdaa2e8408e64b62b5e DIST crossbeam-0.8.1.crate 10429 BLAKE2B 4f915d623533a226370eeceefa5c196438b1b332a8b5eb6223853e416385ac4e1a207bf1989646478b219f7a68c8ca0656a808e87db58361f1d77a5554cc2a76 SHA512 564f5623d1a4da7b0253f14946f2e71d14ac9195d80ab3b0ad8e2ba6fc7229745c8c70c2899852d48fc93cef009109d7d7cf2dc9c875273cb8ce9223b92b0beb DIST crossbeam-channel-0.5.1.crate 86919 BLAKE2B b223d0dcacbb09850d457825cb2a018494d798d0000a20eed3f54b1152e41ebca4698e7d50e81f467b86543779155ad08566da9496eee36aa06644b69cf5d7eb SHA512 f15aff67e9105584f5fe41e1ee650ae4fdd0d0ca0fa9202ee83c6f6025398a300decaa50d1b4682e8afb9bd6e11e95b69bcf23f68ae117419aa84df14ee7747b @@ -52,8 +54,10 @@ DIST crossbeam-queue-0.3.2.crate 14993 BLAKE2B b22d68d0bebcee8eeb53fe431f54ae219 DIST crossbeam-utils-0.8.5.crate 38414 BLAKE2B 8a10162cbc54f77737602b6f8574b65a02765577f0e2f59d71e1d87662180fe24a781df542f3e765c4d64b7a0666575157e000766dac138bd4fc0356944092ad SHA512 fd4d2ae10340bb96c22b31190b300aab54e96b8089fd62489e102c76a944e6a16c582a90bc40f5e188f13f841293a4b9becf30830c2ece04f3ce78c29066532f DIST crossterm-0.19.0.crate 104572 BLAKE2B 13b341870516c5ce4f3ac1d4f40567a2a465d65f9dbe9f627821bd6dde994fa5f8d9802a1b42f19ff91d5511ef7d03a0b62361fe8addbb18e74c624dbe66c9e9 SHA512 c46c095d73be48a3c1875806547ba708a40abfc8e5cd89514162e0d1636675c4f4e2857ac3b4b32239d14f7ab57a61018b6a919160b2136ae761dbbde726b932 DIST crossterm-0.21.0.crate 105045 BLAKE2B f79ca91006ed619a3e7a0fa1d5bc9acb2ca76809a83c17dfa351cf6a21ae53b29abf91c6788fc9c22f0a643835fd65fa26cd36a5b58fecce75691e18f88af209 SHA512 b45ffa4b303b1e8733e5ada4866c60184bd2095d6383cde42f5cb0508c5f2d639060d946f9da77d95de5cee4ebb588b877ff0ff4a2fcd41f40928c3fd1f8fde4 +DIST crossterm-0.22.1.crate 105450 BLAKE2B 4e90dddf5da88dd94c4ae82d0a6d989126b063fae56e5e0963414f196d779f4fdd265d528ecfda387a604866efb41943db8ceee124c2e97dfdcb1f092678f76b SHA512 2a8534a12bb119be583d491b3595259d164de6922ce2a17bbe6f19fcff93339a6d0d8c08398958a7592d6aa765eb2ebc6e61b54211080785357c711b2c454d91 DIST crossterm_winapi-0.7.0.crate 15187 BLAKE2B 5407aca29ccb36473b34527d977fd3fe9d190d2dd940da7077535351458fc0a06af114c145a0f3e741402f2df98a98605a8fb02e2e07c5bb107679a24260fc96 SHA512 5efbe7992b4a19725b5992e0b29a77673e8ecc03d28da35580a5cddaeb32b7e30c7bdb53a2392ebb5b1218617045c306d78451f109d5b836f0e00dcab59e0dfd DIST crossterm_winapi-0.8.0.crate 15531 BLAKE2B 663d08cffbf1996d585922ce09d486afa288b998b6509958ee0c89f8ca4ae316c8d404b326961a464435d22bfcb91e9c3fd26a48e90b8b267c40a7ab6f596c17 SHA512 e246db39c7adae89ee1699b6a0ca2f5aec2dd053db0698ee25c320eb315c59be51d6db2193493ebecadeebee5a4b6f3c52c2e9ede8088da7f9d102ff7ac1e936 +DIST crossterm_winapi-0.9.0.crate 15561 BLAKE2B f84604f1da9cfdd0fc69742eef8088e7d0959073c6f7f37507b065b8537faa20bea8e349bcb1d6836be97f06b4a2c55c4dc63f50eb2f2aba1f34df9b8c9abf1a SHA512 b8c32a82cc83244e8991931e3fe0d85527ee2cc5e6b4a0839d633448dfa8a137c87684e8e079f44edf5a994355e0106bb573b36b57c7420ac5cb6fb0ce20ce8d DIST csv-1.1.6.crate 886999 BLAKE2B b178d0419af671df570f37a4d054391bc883085b0cd3949de5e967aa4ca323fdadfd8c5d91eef1e8882ec112a1111cf255756eace3c7421e455ea2b6e01cb600 SHA512 81dd826f0ee85e7d335d844e9f9b4d2b66f7076c517d8050ee2e35721bfa4ecb8a906dcd9671b1c5381a968dcce0949202f1afe8eea535b6d215363d4f5be6fc DIST csv-core-0.1.10.crate 25668 BLAKE2B 8e9a56c26e75f4c4c9e90a21cc30c60cc3fff17515ac93bc858e8ec45e130df2ecabafa7c513b2d2815269fbbd98c418269dfb1bf1425d2fd32fe46823cee6c8 SHA512 2a269d050fbe5d9e0f5dcda2de1e84bfeb69538dde86040ad1ec7307a214eed813a1482acb5029a51f18126d384d5238355e021964e47811db971a0821bcc328 DIST csv2svg-0.1.5.crate 166306 BLAKE2B 09fb46340d24e08838d521b0b86e7819449c80990c727337c3b70c44f8fdac86dc2b36891ee34e3a5b04f6aeaf49b7074d52eda088231a0f55c8db3f3a2d96db SHA512 194bd4d44790872f348af34a043ce4ff1f5747239c5cd290cca02b40180d53ac6d96847ba11f904eb94ba8b51a5033c01d18589bfd9444e3ba4912eb76da8c62 @@ -219,6 +223,7 @@ DIST termimad-0.16.4.crate 345687 BLAKE2B 1551814ed21af200e3102e16dfd233060f2deb DIST termimad-0.17.0.crate 349670 BLAKE2B dd7ad312706bd459443cc6b4bbef4b60203e12e3f7f8e245668cc2259b56ba9e703d58eb0c0b5720b5e7797263f500594ac72ff27a49418887ed5a3390187034 SHA512 a226c5cbd868df9b656c5913e5e369ae7ea171a6e27524e24916cb342bd8b457e781a6c004bddc2a4ca7b481f8a3c87e1befb2c24fde2dba48eb1719f939d76a DIST termimad-0.17.1.crate 349529 BLAKE2B 5c4bb66bd28c29bbe88190b5aed590c10eae96bab408b03a06cae49ddc9224f7eec37d0f261e90d5964ff94b5830a1f2312fa3b4fb0d4a537b1d9c8d4d36f7db SHA512 479650db2bdf6f8ec8c4fff99c68391de8d2ebd305fcfc29bec5ee914ce7bea0fba12bc49d4b119f7a40ba68bc1ad26f2cbf93993757c78d1d502d8a10f51034 DIST termimad-0.19.0.crate 351222 BLAKE2B 98f31f0946f54e7557dc7210cef36ecb962c86c893588188449c8a4c9229a33c18db2ca51ac19d3a9d26f57ac9b90ec6c0b827d2905d8b3598e36e2a07027c5b SHA512 6e6a960962a9fe27d58571c8b4e65e26458ea8b6d6218e3efd9ac5767f6cfb2edc3e92c96fe78db043ad2f3dc3b4a67cd77206c6b14678843181e1cfec3b034a +DIST termimad-0.19.3.crate 352106 BLAKE2B 158eddf072732f2329df40d90a960a974669373631dfd7db59bd60034997c4dcf90fcfd1c3c65bd4b491d86ba7c05011d1fdbc029cb5c47c8bd85677e2d1ff18 SHA512 4b6fcd9e2c801ece36334252faaa716227ca3f1b483a06246ff0966559adf1f2298d38f6296d327b7506dcfd498ff4860e6072c53956a56a2b2a2cefe1753a2c DIST terminal-clipboard-0.2.1.crate 4056 BLAKE2B 638662ebf46e0cb67df5a33905b5384b9270276c243b6f53a66415509eabb4da48c2d8257b5f67518712911395698cd02a745b6daf42d1cab30a1253a7dd98bf SHA512 10b6d024b24fb236954a981c17dec25b4d4b8f06c4cef3edb9137cf291099453926b5793c6f19bd3b69a9db88e38ed4ea72bbf8aa6f57434a30974b9fb9ab763 DIST terminal-clipboard-0.3.0.crate 5529 BLAKE2B e9d8e1492b515e7571e919f20765dde240f85503920e93b8ac48f4f4e4473d2c31c448a89f4165cffa9e275dff2ae88b7d0677e145777effe3d985d3d1621070 SHA512 9f484c4c512776e398c83403759af4baa31279efcb149f724fb77d8d5ad3da9a0a73d4dfee03c3f76143052ada86859e8cb4ced55d7745b0eb0c81377b308b33 DIST terminal-clipboard-0.3.1.crate 5597 BLAKE2B a05f67c1ebce2129a2b8130cd84fbed579c67ae4d46bc4f233e6ae647a2693e5c1257ce3882a21345b596c487cbf5b339ef907f417aafea4bb6f980113aa31eb SHA512 b29a81d2737271cc4e60115e473ea3af80ce45f078c99fee573cbd35da8e27c939ff1aa86dd86a3e2ea9352a28f2fd3492e28be63c3eb0dad53974d06b43c346 diff --git a/app-misc/broot/broot-1.7.4.ebuild b/app-misc/broot/broot-1.7.4.ebuild new file mode 100644 index 000000000000..601332f18614 --- /dev/null +++ b/app-misc/broot/broot-1.7.4.ebuild @@ -0,0 +1,263 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +adler-1.0.2 +adler32-1.2.0 +ahash-0.4.7 +ahash-0.7.6 +aho-corasick-0.7.18 +ansi_colours-1.0.4 +ansi_term-0.11.0 +anyhow-1.0.45 +argh-0.1.6 +argh_derive-0.1.6 +argh_shared-0.1.6 +atty-0.2.14 +autocfg-1.0.1 +base64-0.13.0 +bet-1.0.0 +bincode-1.3.3 +bitflags-1.3.2 +bstr-0.2.17 +bytemuck-1.7.2 +byteorder-1.4.3 +cc-1.0.72 +cfg-if-1.0.0 +char_reader-0.1.1 +chrono-0.4.19 +clap-2.33.3 +cli-log-0.1.0 +cli-log-2.0.0 +clipboard-win-4.2.2 +color_quant-1.1.0 +coolor-0.3.1 +crc32fast-1.2.1 +crossbeam-0.8.1 +crossbeam-channel-0.5.1 +crossbeam-deque-0.8.1 +crossbeam-epoch-0.9.5 +crossbeam-queue-0.3.2 +crossbeam-utils-0.8.5 +crossterm-0.19.0 +crossterm-0.22.1 +crossterm_winapi-0.7.0 +crossterm_winapi-0.9.0 +csv-1.1.6 +csv-core-0.1.10 +csv2svg-0.1.5 +custom_error-1.9.2 +deflate-0.8.6 +deser-hjson-1.0.2 +directories-3.0.2 +directories-next-2.0.0 +dirs-sys-0.3.6 +dirs-sys-next-0.1.2 +either-1.6.1 +error-code-2.3.0 +fallible-iterator-0.2.0 +fallible-streaming-iterator-0.1.9 +file-size-1.0.3 +flate2-1.0.22 +fnv-1.0.7 +form_urlencoded-1.0.1 +getrandom-0.2.3 +gif-0.11.3 +git2-0.13.24 +glassbench-0.3.0 +glob-0.3.0 +hashbrown-0.9.1 +hashbrown-0.11.2 +hashlink-0.6.0 +heck-0.3.3 +hermit-abi-0.1.19 +id-arena-2.2.1 +idna-0.2.3 +image-0.23.14 +indexmap-1.7.0 +instant-0.1.12 +is_executable-1.0.1 +itoa-0.4.8 +jobserver-0.1.24 +jpeg-decoder-0.1.22 +lazy-regex-2.2.2 +lazy-regex-proc_macros-2.2.2 +lazy_static-1.4.0 +lazycell-1.3.0 +lfs-core-0.4.2 +libc-0.2.107 +libgit2-sys-0.12.25+1.3.0 +libsqlite3-sys-0.20.1 +libz-sys-1.1.3 +line-wrap-0.1.1 +linked-hash-map-0.5.4 +lock_api-0.4.5 +log-0.4.14 +matches-0.1.9 +memchr-2.4.1 +memmap-0.7.0 +memoffset-0.6.4 +minimad-0.7.1 +minimad-0.9.0 +miniz_oxide-0.3.7 +miniz_oxide-0.4.4 +mio-0.7.14 +miow-0.3.7 +ntapi-0.3.6 +num-integer-0.1.44 +num-iter-0.1.42 +num-rational-0.3.2 +num-traits-0.2.14 +num_cpus-1.13.0 +once_cell-1.8.0 +onig-6.3.1 +onig_sys-69.7.1 +open-1.7.1 +open-2.0.1 +parking_lot-0.11.2 +parking_lot_core-0.8.5 +pathdiff-0.2.1 +percent-encoding-2.1.0 +phf-0.9.0 +phf_generator-0.9.1 +phf_macros-0.9.0 +phf_shared-0.9.0 +pkg-config-0.3.22 +plist-1.3.1 +png-0.16.8 +ppv-lite86-0.2.15 +proc-macro-hack-0.5.19 +proc-macro2-1.0.32 +proc-status-0.1.1 +quick-xml-0.22.0 +quote-1.0.10 +rand-0.8.4 +rand_chacha-0.3.1 +rand_core-0.6.3 +rand_hc-0.3.1 +rayon-1.5.1 +rayon-core-1.9.1 +redox_syscall-0.2.10 +redox_users-0.4.0 +regex-1.5.4 +regex-automata-0.1.10 +regex-syntax-0.6.25 +remove_dir_all-0.5.3 +rusqlite-0.24.2 +ryu-1.0.5 +safemem-0.3.3 +same-file-1.0.6 +scoped_threadpool-0.1.9 +scopeguard-1.1.0 +secular-1.0.1 +serde-1.0.130 +serde_derive-1.0.130 +serde_json-1.0.71 +signal-hook-0.1.17 +signal-hook-0.3.10 +signal-hook-mio-0.2.1 +signal-hook-registry-1.4.0 +siphasher-0.3.7 +smallvec-1.7.0 +splitty-0.1.0 +str-buf-1.0.5 +strict-0.1.4 +strsim-0.8.0 +svg-0.8.2 +syn-1.0.81 +syntect-4.6.0 +tempfile-3.2.0 +termimad-0.10.3 +termimad-0.19.3 +terminal-clipboard-0.3.1 +termux-clipboard-0.1.0 +textwrap-0.11.0 +thiserror-1.0.30 +thiserror-impl-1.0.30 +tiff-0.6.1 +time-0.1.43 +time-0.3.5 +tinyvec-1.5.1 +tinyvec_macros-0.1.0 +toml-0.5.8 +umask-1.0.0 +unicode-bidi-0.3.7 +unicode-normalization-0.1.19 +unicode-segmentation-1.8.0 +unicode-width-0.1.9 +unicode-xid-0.2.2 +url-2.2.2 +users-0.11.0 +vcpkg-0.2.15 +vec_map-0.8.2 +version_check-0.9.3 +walkdir-2.3.2 +wasi-0.10.2+wasi-snapshot-preview1 +weezl-0.1.5 +winapi-0.3.9 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-util-0.1.5 +winapi-x86_64-pc-windows-gnu-0.4.0 +x11-clipboard-0.5.3 +xcb-0.10.1 +xml-rs-0.8.4 +yaml-rust-0.4.5 +" + +inherit bash-completion-r1 cargo + +DESCRIPTION="A new way to see and navigate directory trees" +HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot" +SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris)" + +LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB" +SLOT="0" +KEYWORDS="~amd64" +IUSE="X" + +RDEPEND=" + dev-libs/libgit2:= + X? ( x11-libs/libxcb:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=">=virtual/rust-1.56" + +QA_FLAGS_IGNORED="usr/bin/broot" + +src_configure() { + local myfeatures=( $(usev X clipboard) ) + + cargo_src_configure --no-default-features +} + +src_prepare() { + default + + local mandate=$(date -r man/page +'%Y/%m/%d' || die) + sed -e "s|#version|${PV}|" \ + -e "s|#date|${mandate}|" \ + man/page > "${T}"/${PN}.1 || die +} + +src_install() { + cargo_src_install + + doman "${T}"/${PN}.1 + + local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out ) + cd ${build_dir[0]} || die + + newbashcomp ${PN}.bash ${PN} + newbashcomp br.bash br + + insinto /usr/share/zsh/site-functions + doins _${PN} + doins _br + + insinto /usr/share/fish/vendor_completions.d + doins ${PN}.fish + doins br.fish +} |